This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread 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 OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 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
It's not a secret anymore!