I call the php file from Flash and add the following variables as follows:
http://www.randomwebsite.com/something.php?title= 爸爸
It works fine if I copy and paste it directly into a web browser, however, if I call it via flash, the address bar will end as follows: something.php? title = ??
Is there anything I can do with PHP or flash to encode / decode a string? Any help is appreciated.
Thanks, Will
EDIT: Thanks guys, this method worked just fine. Everything responds well, however, I now have some problems with inserting information into my database via MySQL, all my fields are configured to UTF-8. I get some weird characters instead of Chinese characters.
Thanks a lot, Will
source
share