JDBC rs.getString() encoding problem - Mailing list pgsql-interfaces

From brucecphsu
Subject JDBC rs.getString() encoding problem
Date
Msg-id 000001bff15a$c5736d10$7b48a8c0@acer.net
Whole thread Raw
In response to RE: Clob or Blob in JDBC -> ImageViewer  (Peter Mount <petermount@it.maidstone.gov.uk>)
List pgsql-interfaces
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




pgsql-interfaces by date:

Previous
From: Peter Mount
Date:
Subject: RE: Clob or Blob in JDBC -> ImageViewer
Next
From: Carsten Zerbst
Date:
Subject: TCL - API documentation