Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-jdbc by date

Next:From: Guillaume CottenceauDate: 2008-11-26 10:11:12
Subject: Re: Problem with accessing Russian UTF database
Previous:From: Ronald VyhmeisterDate: 2008-11-26 07:33:06
Subject: Re: Problem with accessing Russian UTF database

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group