Thread: How to i18n work with jdbc?

How to i18n work with jdbc?

From
Vernon Wu
Date:
I'm working on a Java web application with the Postgres as the backend DB. After set up the encode, Chinese
characters don't seem to stored and retrieved correctly thorough the web application. Can someone please telll me
what is missing.

Thanks in advance for your help.



Vernon



Re: How to i18n work with jdbc?

From
Jochem van Dieten
Date:
Vernon Wu wrote:
> I'm working on a Java web application with the Postgres as the backend DB. After set up the encode, Chinese
> characters don't seem to stored and retrieved correctly thorough the web application. Can someone please telll me
> what is missing.

What application? Is your problem in the part of getting the data to and
from the browser or in the part from the server app to PostgreSQL? Which
encoding have you set up for which part of the process?

Jochem


Re: How to i18n work with jdbc?

From
Vernon Wu
Date:
The charater set I use in all the JSP pages is UTF-8. I don't believe that is the problem since Chinese charaters on
the 
presentation layer are displayed correctly. I use the encode as stated in the document EUC_CN
 for Chinese. The only problem is for the data stored up to the Postgresql DB. I am not sure the problem is on the
write 
or read, or both.

Vernon

9/23/2002 12:11:22 PM, Jochem van Dieten <jochemd@oli.tudelft.nl> wrote:

>Vernon Wu wrote:
>> I'm working on a Java web application with the Postgres as the backend DB. After set up the encode, Chinese
>> characters don't seem to stored and retrieved correctly thorough the web application. Can someone please telll me
>> what is missing.
>
>What application? Is your problem in the part of getting the data to and
>from the browser or in the part from the server app to PostgreSQL? Which
>encoding have you set up for which part of the process?
>
>Jochem
>
>