cant show the chinese text correctly

N

Nick

i have a text file that contain some chinese text, when i write a java
program try to read this text file, the chinese text cant show correctly
, so how to solve this problem?

thanks!
 
L

Lothar Kimmeringer

Nick said:
i have a text file that contain some chinese text, when i write a java
program try to read this text file, the chinese text cant show correctly
, so how to solve this problem?

- Use the correct encoding when reading
- Make sure the output-device is capable of showing chinese
characters
- Use the correct encoding when giving out characters on the
output-device


Regards, Lothar
--
Lothar Kimmeringer E-Mail: (e-mail address removed)
PGP-encrypted mails preferred (Key-ID: 0x8BC3CD81)

Always remember: The answer is forty-two, there can only be wrong
questions!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top