I am facing a problem to convert text into UTF-8 encoding scheme in Flex. The RPC which gets called is returning Russian text into UTF-8 but the text displayed is the equivalent of that text.
so, How can I convert it into UTF-8?
I am Using Flex.
Thanks.
MORE INFO ADDED
Flex expression watcher is showing "ÐведиÑе ÑекÑÑ"
while Flex console is showing Ð?ведиÑ?е Ñ?екÑ?Ñ?
for Введите текст
russian text.
I have put this result on $_SESSION too where it is showing correct in russian form if I change browser encoding to utf-8.
Solved. I just set the setCharsetHandler("iconv","UTF-8","UTF-8");
in gateway.php
in amfphp
.
This AMFPHP and MySQL character set tutorial helped me. I am not a php-guy. I just got lucky to discover that.
Thanks to all for your precious time.