Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#2 Support chinese-character messages?

closed
nobody
None
5
2000-10-20
2000-10-19
Welson Tevanotai
No

Discussion

  • Logged In: YES
    user_id=92273
    Browser: Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)

    Dear all,

    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.

    Many Thx.

    Regards,
    Welson.

     
  • Logged In: YES
    user_id=20774
    Browser: Mozilla/4.75 [en] (X11; U; Linux 2.2.16 i686)

    The answer to this is now in the new FAQ section. Please
    see http://research.lyrisoft.com/cgi-bin/fom.

     
  • Taso Lyristis
    Taso Lyristis
    2000-10-20

    • status: open --> closed
     
  • Logged In: YES
    user_id=92273
    Browser: Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)

    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.
    (i.e.
    String message = new String(txtInput.getText());
    System.out.println (message);
    txtMessages.append( message + "\n" );
    txtInput.setText("");
    )
    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 ?

    Many Thx.

    Regards,
    Welson.