>
> hey. when im trying to send data to mysql or anything else in forgin
> language
> such hebrew its retruns me gibbrish... its a known bug?
> how can i fix it? i need to use php htmlentitles() ?
>
>

I would say this debends what you mean with "its retruns me gibbrish":

The data you get back from your ajax-call is probably utf-8 encoded. But
is the data in your database also utf-8 encoded? If not, your're inserting
non utf-8 code into an utf-8 encoded document... a php utf8_encode when
inserting the data from database into your ajax-result would do the trick
in that case...

michael


_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to