I am encountering the following kind of problem. I am trying to implement a chat applet that supports various languages such as korean, russian, chinese, japanese and scandinavian languages (characters �,�,�) etc.
The problem is that I am capable of producing text basically in any language (in a understable format so that on my own chat applet window everything gets outputted correctly) but others participating the chat aren't doing that. Instead of seeing real characters they see only question marks, ???.
What may be causing this?
Please help me out with this problem. I have already tested the following kind of approach like
String myUTF8=new String(Ed.getText().getBytes("ISO-8859-1"),"UTF-8") but without success.
How are you transferring the characters between the applet and the chat server - are you explicitly using the same encoding everywhere, or do you have any code that uses the platform default encoding (which might be different on each applet client)?