pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: brucecphsu <brucecphsu@ms.acer121.com>
To: pgsql-interfaces@postgresql.org
Subject: JDBC rs.getString() encoding problem
Date: Wed, 19 Jul 2000 16:24:33 +0800
Message-ID: <000001bff15a$c5736d10$7b48a8c0@acer.net> (raw)
In-Reply-To: <1B3D5E532D18D311861A00600865478CF1B0F7@exchange1.nt.maidstone.gov.uk>

Hello,

   I write a Java Servlet program which use rs.getString()
to retrive data (UTF-8 encoded data). The char I got is
?(65533).  But if I use a Java AP to retrive the data,
the return char is OK.

   I guess there are some environment variable which
will affect the String return by rs.getString(). Somebody
can give me a hint?   Thanks in advance.

Bruce





Message-ID: <000001bff15a$c5736d10$7b48a8c0@acer.net>
Permalink:  ../000001bff15a$c5736d10$7b48a8c0@acer.net/
Also on:    postgresql.org/message-id/000001bff15a$c5736d10$7b48a8c0@acer.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: brucecphsu@ms.acer121.com
  Subject: Re: JDBC rs.getString() encoding problem
  In-Reply-To: <000001bff15a$c5736d10$7b48a8c0@acer.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox