I'm having problems trying to return to the ajax response french, greek... words having language special chars as T<b>é</b>l<b>é</b>charger, <b>ÊáôåâÜóôå</b>, etc... Here an example: <img src="http://img527.imageshack.us/img527/7321/dibujocb6.jpg">
Is any way to solve this problem? Thanks
Egoitz
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm having problems trying to return to the ajax response french, greek... words having language special chars as T<b>é</b>l<b>é</b>charger, <b>ÊáôåâÜóôå</b>, etc... Here an example: <img src="http://img527.imageshack.us/img527/7321/dibujocb6.jpg">
Is any way to solve this problem? Thanks
Egoitz
hey Egoitz, you have to set the header properly in your API script to return the character encoding you want.
check out www.php.net/header
I've tried
header('Content-type: text/html; charset=UTF-8');
but it doesn't work with my script.
Is that wrong?
try urlencode() :)