Logged In: YES
Browser: Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)
I am recently trying on NFC and
when trying to make a chat room or type a message
using chinese characters, monster characters come out.
So do anyone knows whether NFC can support chinese
characters? Hopefully, there'll be advice for me if I
want to distribute NFC supporting chinese characters.
Logged In: YES
Browser: Mozilla/4.75 [en] (X11; U; Linux 2.2.16 i686)
The answer to this is now in the new FAQ section. Please
The solutions given are for the case where the user OS is
not supporting chinese. However, for my case, if the user
is using chinese windows, they should be able to input and
read chinese characters in the applet. I have tried to add
a button in the chatroom to directly echo back what the
user input in the txtInput box to the txtMessages.
String message = new String(txtInput.getText());
txtMessages.append( message + "\n" );
The chinese characters are all displayed correctly in
txtMessages. That means the chinese characters display
problem is not related to the applet or the interface. The
chinese messages are being modified or encoded in somewhere
when the message is passed thro' varies classes before
arriving to the user txtMessage box.
I have traced the path where the message string has gone
thro' but I lost in the class WriterThread. Can anyone give
me some guidances on this or do anyone know where the
message is being modified or encode and so leading to the
chinese characters display problem ? Any solution for that ?
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.