character coding problems - Mailing list pgsql-jdbc

From Jean-Christian Imbeault
Subject character coding problems
Date
Msg-id 3E88F728.4060708@mega-bucks.co.jp
Whole thread Raw
List pgsql-jdbc
I have an EUC-JP database. I haven't had any problems retrieving
japanese data from it until today.

The problem I have is with the following string.

北品川5−5−19

(it may not be obvious but the numbers are double-byte(width) and so are
the hyphens).

When I retrieve the string in Java and print it out I get the following:

北品川5?5?19

The double-byte(width) hyphen prints out as a "?". I am assuming that
this a problem with unicode not recognizing the double-width hyphen?

What is the proper way to get around this problem?

Thanks!

Jean-Christian Imbeault


pgsql-jdbc by date:

Previous
From: Dave Cramer
Date:
Subject: Re: setCatalog()
Next
From: "Henri Chen"
Date:
Subject: setObject() throw exception message: "The table for java.util.Date is not in the database. ..."