Re: confused with encodings - Mailing list pgsql-hackers

From Tatsuo Ishii
Subject Re: confused with encodings
Date
Msg-id 20030617.102412.74752421.t-ishii@sra.co.jp
Whole thread Raw
In response to confused with encodings  (Oleg Bartunov <oleg@sai.msu.su>)
Responses Re: confused with encodings  (Oleg Bartunov <oleg@sai.msu.su>)
List pgsql-hackers
> Tatsuo,
> 
> recently I tried to understand why I can't get sorting works properly
> with cyrillic characters  in UTF8 datbase. I figure out the
> reason of my confusion - I thought I could specify different encodings
> for different databases and these encodings will be used in text operations
> (sort, upper,lower), not just for conversion.
> But, actually, the only encoding is important for text operations - the one
> specified with 'initdb' command ! Is't true ?
> 
> If so, it's a big issue :)
> 
> After I created separate storage for unicode (initdb -E utf8) and
> restarted postmaster I got success with 'order by', but
> upper(), lower() functions still fails.

[I assume you enable the locale support.]

Dont't ask me. These are locale support problems.
--
Tatsuo Ishii


pgsql-hackers by date:

Previous
From: Josh Berkus
Date:
Subject: Reordered .conf file ... need help with LC_vars
Next
From: "Christopher Kings-Lynne"
Date:
Subject: pg_get_triggerdef in pg_dump