This week's book giveaway is in the OCAJP forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff 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 OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP 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