This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Linux / UNIX and the fly likes character corruption Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "character corruption" Watch "character corruption" New topic

character corruption

shashank bezalwar

Joined: Oct 31, 2007
Posts: 17
Hi all, i am reading from a file having unicodebig or unicodelittle encoding. I am converting it to utf8 and saving to database using java class. The code works fine on windows but when i run the same code on fedora the characters get corrupted. Can any one please tell me what i am doing wrong?
This is the code:
I agree. Here's the link:
subject: character corruption