*
The moose likes Portals and Portlets and the fly likes Issue in character encoding.... 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 » Java » Portals and Portlets
Bookmark "Issue in character encoding...." Watch "Issue in character encoding...." New topic
Author

Issue in character encoding....

Abhishek Purwar
Ranch Hand

Joined: Dec 15, 2007
Posts: 63

Hello friends.......
I am currently working on my project and got stuck with a strange problem..........

I am working on windows machine and using eclipse and tomcat for my application.........

I am reading data from xls file in my application and storing it in database(mysql).....
in my xls sheet when i give non-english characters it got read correctly by my application and stored in the same way
in the database ........

But when i worked on linux machine and using same softwares i.e. eclipse, tomcat and mysql........
my application didn't read xls file having special charaters correctly .......
means it changes it into some other characters and store it in that manner only in database.

And when i debug my appkication in windows while reading it shows workbooksetting encoding cp1252........
but in linux it shows utf-8.......

it troubles me very much........
so please let me get out of this problem.........


Abhishek Purwar,
Bangalore.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Issue in character encoding....