Re: BUG #13997: does not work ILIKE + UTF8 - Mailing list pgsql-bugs

From Shulgin, Oleksandr
Subject Re: BUG #13997: does not work ILIKE + UTF8
Date
Msg-id CACACo5RePbe3WVjPq3X92jH2Z27TwP5PEkF8B41rXoaPbCbRnQ@mail.gmail.com
Whole thread Raw
In response to BUG #13997: does not work ILIKE + UTF8  (woodman@adea74.ru)
List pgsql-bugs
On Thu, Mar 3, 2016 at 5:23 AM, <woodman@adea74.ru> wrote:

> The following bug has been logged on the website:
>
> Bug reference:      13997
> Logged by:          Max
> Email address:      woodman@adea74.ru
> PostgreSQL version: 9.4.6
> Operating system:   Centos 6
> Description:
>
> Hi, does not work ILIKE. Language - Russain, encoding - UTF8.
>

Hello,

In order to diagnose the issue, please provide a minimal SQL statement to
reproduce the issue, any error message you get or expected result vs.
actual result.  Please also provide output of psql \l command on the
database where you experience the issue, e.g:

=3D# \l test_ilike
                           List of databases
    Name    |  Owner   | Encoding | Collate | Ctype | Access privileges
------------+----------+----------+---------+-------+-------------------
 test_ilike | oshulgin | LATIN1   | C       | C     |
(1 row)

=3D# select '=D1=82=D0=B5=D1=81=D1=82' ilike '=D0=A2=D0=95=D0=A1=D0=A2';
ERROR:  character with byte sequence 0xd1 0x82 in encoding "UTF8" has no
equivalent in encoding "LATIN1"

--
Alex

pgsql-bugs by date:

Previous
From: rsimeon@ebms.com
Date:
Subject: BUG #13999: pg_upgrade failing with FATAL: unrecognized configuration parameter "unix_socket_directory"
Next
From: Alvaro Herrera
Date:
Subject: Re: BUG #13844: Logical decoding bug with subxact + row locking