Re: ilike and utf-8 - Mailing list pgsql-general

From Tom Lane
Subject Re: ilike and utf-8
Date
Msg-id 9813.1145030163@sss.pgh.pa.us
Whole thread Raw
In response to ilike and utf-8  ("Raphael Bauduin" <rblists@gmail.com>)
Responses Re: ilike and utf-8
List pgsql-general
"Raphael Bauduin" <rblists@gmail.com> writes:
> Does the ilike operator work fine with cyrillic text put in a UTF-8
> encoded database?

If you've initdb'd in an appropriate locale (probably named something
like ru_RU.utf8) then it should work.  I wouldn't expect a random
non-Russian locale to necessarily know about Cyrillic case conversions,
however.

Martijn's nearby comment about OS dependency really boils down to the
fact that different OSes may have different definitions for similarly
named locales.  We need to know what locale you're using (try "SHOW
LC_CTYPE") as well as the OS.

            regards, tom lane

pgsql-general by date:

Previous
From: "Raphael Bauduin"
Date:
Subject: Re: ilike and utf-8
Next
From: "Raphael Bauduin"
Date:
Subject: Re: ilike and utf-8