Re: Problem with accessing Russian UTF database - Mailing list pgsql-jdbc

From Guillaume Cottenceau
Subject Re: Problem with accessing Russian UTF database
Date
Msg-id 877i6qssr9.fsf@mnc.ch
Whole thread Raw
In response to Re: Problem with accessing Russian UTF database  (Oliver Jowett <oliver@opencloud.com>)
List pgsql-jdbc
Oliver Jowett <oliver 'at' opencloud.com> writes:

> Ronald Vyhmeister wrote:
>
>> As for the Unicode escapes, how do I determine them?
>
> The syntax of a unicode escape in Java is \uNNNN where NNNN is the hex
> value of the Unicode codepoint you want to use.
>
> See http://unicode.org/charts/ to find the particular ones you need
> (e.g. Cyrillic is in http://unicode.org/charts/PDF/U0400.pdf)

Or easier yet, use native2ascii!

[gc@meuh ~] echo 'André is nice' | native2ascii
Andr\u00e9 is nice

--
Guillaume Cottenceau

pgsql-jdbc by date:

Previous
From: "Ronald Vyhmeister"
Date:
Subject: Re: Problem with accessing Russian UTF database
Next
From: Guillaume Cottenceau
Date:
Subject: Re: Problem with accessing Russian UTF database