Re: Encoding Problem - Mailing list pgsql-jdbc

From Oliver Jowett
Subject Re: Encoding Problem
Date
Msg-id 41E70C9F.90106@opencloud.com
Whole thread Raw
In response to Encoding Problem  (Jerome Colombie <jcolombie@gmx.ch>)
List pgsql-jdbc
Jerome Colombie wrote:

>        byte[] temp = test.getBytes();

getBytes() uses the JVM's default encoding to convert from the internal
string char[] representation, which might be wrong.

More interesting is test.getBytes("UTF-8") or test.getChars() or
test.charAt(x)

-O

pgsql-jdbc by date:

Previous
From: Kris Jurka
Date:
Subject: Re: Encoding Problem
Next
From: Jerome Colombie
Date:
Subject: Re: Encoding Problem