This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes I/O and Streams and the fly likes Multi language file I/O Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » I/O and Streams
Bookmark "Multi language file I/O" Watch "Multi language file I/O" New topic

Multi language file I/O

colapig colapig

Joined: Sep 20, 2004
Posts: 1
I just get stuck with how to read and write the multi-language to a file.

Eg, In the text area, I write down the english, japanese. When i write these characters to a txt file, and open it again. All japanese characters are be '???'.

Did anyone know how to fix that? I think i might have to change the encoding set to Unicode, but no idea how to do it in Java. Thanks
I agree. Here's the link:
subject: Multi language file I/O
Similar Threads
Using JDBC to insert into MS Excel file
Retrieving japanese characters through jdbc
how to show Japanese in jsp properly?
Unicode usage
Japanese in Struts