Re: ilike and utf-8

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Raphael Bauduin" <rblists(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: ilike and utf-8
Date: 2006-04-14 15:56:03
Message-ID: 9813.1145030163@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Raphael Bauduin" <rblists(at)gmail(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Raphael Bauduin 2006-04-14 17:01:04 Re: ilike and utf-8
Previous Message Raphael Bauduin 2006-04-14 15:54:02 Re: ilike and utf-8