Re: Problem with accessing Russian UTF database

From: Guillaume Cottenceau <gc(at)mnc(dot)ch>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Problem with accessing Russian UTF database
Date: 2008-11-26 10:09:46
Message-ID: 877i6qssr9.fsf@mnc.ch
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)meuh ~] echo 'André is nice' | native2ascii
Andr\u00e9 is nice

--
Guillaume Cottenceau

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Guillaume Cottenceau 2008-11-26 10:11:12 Re: Problem with accessing Russian UTF database
Previous Message Ronald Vyhmeister 2008-11-26 07:33:06 Re: Problem with accessing Russian UTF database