actionscript utf-8 encoding
Posted on 2011-02-24
Hi i have a frontend in flex , backend in php and mysql database. The database defaults are set as utf-8, php file is in utf-8 encoding as well.
I have found that when i send data from flex and save in database, all the special latin characters get saved as funny characters. Interestingly though when fetched back into my flex app. the values show properly.
but if i use mysql_set_charset('utf8'); in php, the characters are saved properly in database also.
Question: why am i having to use mysql_set_charset('utf8');. Does flex not send data in utf-8 (or even latin1) format ??