Received: from acer121.com (mail1.acer121.com [210.241.159.11]) by hub.org (8.10.1/8.10.1) with ESMTP id e6J8Neh80585 for ; Wed, 19 Jul 2000 04:23:41 -0400 (EDT) Received: from [203.65.211.100] (HELO brucecphsu) by acer121.com (CommuniGate Pro SMTP 3.2.4) with SMTP id 669706 for pgsql-interfaces@postgresql.org; Wed, 19 Jul 2000 16:45:00 +0800 Reply-To: From: "brucecphsu" To: Subject: JDBC rs.getString() encoding problem Date: Wed, 19 Jul 2000 16:24:33 +0800 Message-ID: <000001bff15a$c5736d10$7b48a8c0@acer.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2910.0) Importance: Normal In-Reply-To: <1B3D5E532D18D311861A00600865478CF1B0F7@exchange1.nt.maidstone.gov.uk> X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by hub.org id e6J8Nfh80589 X-Archive-Number: 200007/142 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