This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes JSP and the fly likes Encoding ISO8859 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Encoding ISO8859" Watch "Encoding ISO8859" New topic
Author

Encoding ISO8859

Kelly So
Greenhorn

Joined: Mar 27, 2001
Posts: 20
Hi all,
My database is a EAServer which the charset is ISO_8859_1. When I use to input the chinese data into database (for example company table), I am getting unreadable data that insert the value into it. I don't know whether the data is the ISO_8859_1 data or not. And after I retrieve the value, I use
new String(returnValue.getBytes("ISO_8859_1"), "Big5");
to convert it and again it display unreadable character.
Can anyone help me to solve this chinese character problem? Thanks a lot!
Kelly
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Encoding ISO8859