jQuery in Action, 2nd edition*
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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Encoding ISO8859" Watch "Encoding ISO8859" New topic

Encoding ISO8859

Kelly So

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!
It is sorta covered in the JavaRanch Style Guide.
subject: Encoding ISO8859
Similar Threads
Help needed on character encoding....
Unable to Insert these Chinese Character
insert chinese character jsp/java servlet
database operation with other character set
How to use replace function in jsp