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

From Tom Lane
Subject Re: case insensitive search with greek characters
Date
Msg-id 28706.1092596040@sss.pgh.pa.us
Whole thread Raw
In response to case insensitive search with greek characters  (Giannis Vrentzos <gvre@NOSPAM.gvre.gr>)
Responses Re: case insensitive search with greek characters  (Giannis Vrentzos <gvre@gvre.gr>)
List pgsql-general
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 :-(

            regards, tom lane

pgsql-general by date:

Previous
From: Stephan Szabo
Date:
Subject: Re: (libpq) listen/notify messages are converted to
Next
From: Tom Lane
Date:
Subject: Re: table functions as fields in a select