How to i18n work with jdbc?

Started by Vernon Wuover 23 years ago3 messagesgeneral
Jump to latest
#1Vernon Wu
vernonw@gatewaytech.com

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

#2Vernon Wu
vernonw@gatewaytech.com
In reply to: Vernon Wu (#1)
Re: How to i18n work with jdbc?

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:

Show quoted text

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

#3Jochem van Dieten
jochemd@oli.tudelft.nl
In reply to: Vernon Wu (#1)
Re: How to i18n work with jdbc?

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