Re: case insensitive search with greek characters - Mailing list pgsql-general

From Giannis Vrentzos
Subject Re: case insensitive search with greek characters
Date
Msg-id 41204B52.8000702@gvre.gr
Whole thread Raw
In response to Re: case insensitive search with greek characters  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
Tom Lane wrote:
> Giannis Vrentzos <gvre@NOSPAM.gvre.gr> writes:
>
>>... everything is fine. As you can see the problem is at char α .
>>I 'm using ENCODING = 'ISO_8859_7'. I also tried with unicode but no luck.
>
>
> upper/lower casing behavior depends on locale, not encoding (though you
> also need to be sure your encoding is what the selected locale expects).
> I suspect you initdb'd with the wrong locale environment settings.
> Check by doing
>     show lc_ctype;
>     show lc_collate;
> If it's not the right thing then you'll need to re-initdb :-(

The problem is not with upper-lower case but with one letter (α) and
(ά). I executed show lc_ctype and show lc_collate and postgres returned
'Greek_Greece.1253' and i cannot find an encode like this in postgres. I
also don't want to change the encoding every time i change the db server
machine.

Thanks for responding,
Gvre

pgsql-general by date:

Previous
From: "Maurizio Merli"
Date:
Subject: PostgreSQL 8.0.0 - Win32 C-Language function how to?
Next
From: Dave Cramer
Date:
Subject: Re: PostgreSQL 8.0 Feature List?