Re: which charset use for cyrilic? - Mailing list pgsql-general

From Oleg Bartunov
Subject Re: which charset use for cyrilic?
Date
Msg-id Pine.GSO.4.63.0510291334210.29329@ra.sai.msu.su
Whole thread Raw
In response to which charset use for cyrilic?  (Zet <skyer@on.kg>)
List pgsql-general
Zet,

there is pgsql-ru-general list (russian), btw.
see http://www.postgresql.org/community/lists/subscribe for
subscription info.

You did't get us enough info and examples (cut'n paste form psql would be
nice).



     Oleg
On Sat, 29 Oct 2005, Zet wrote:

> Hi
>
> Which charset is need to be set in database for cyrilic?
>
> I've used till now WIN, but today I found a problem
>
> for example:
>
> SELECT *
> FROM table
> WHERE a = 'слово'
>
> returns me a record, where a = 'фраза'
>
> after I tried UNICODE
> but for most of cyrilic words PG gives error like
> "invalid byte sequence for encoding "UNICODE":..."
>
> Regards,
> Zet
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: explain analyze is your friend
>

     Regards,
         Oleg
_____________________________________________________________
Oleg Bartunov, sci.researcher, hostmaster of AstroNet,
Sternberg Astronomical Institute, Moscow University (Russia)
Internet: oleg@sai.msu.su, http://www.sai.msu.su/~megera/
phone: +007(095)939-16-83, +007(095)939-23-83

pgsql-general by date:

Previous
From: Kostas Maistrelis
Date:
Subject: Re: mysql replace in postgreSQL?
Next
From: Bruno Wolff III
Date:
Subject: Re: Can I use variable to store sql data?