Using the XMLSocket class in as3 i am trying to read the string that include special characters (including chinese symbols) sent by a .NET server that uses the Socket class in c# for communication. The log shows the data properly . But when i get it in as3, all the special characters are replaced by '?'. I thought it would be a font issue. But tried with embedding the fonts and got the same result. If i read a file having special characters using URLLoader, then everything is proper. But when i tried to read the data sent by the .net server using the flash XMLSocket class the special characters are replaced. Is there any encoding we need to set in .net Socket class or somewhere or can this be solved from the client side(flash as3) itself?
thanks in advance