Re: full text search, utf8 - Mailing list pgsql-ru-general

From alexander lunyov
Subject Re: full text search, utf8
Date
Msg-id 4A275966.2080202@zato.ru
Whole thread Raw
In response to Re: full text search, utf8  (eshkinkot@gmail.com (Сергей Бурладян))
List pgsql-ru-general
Сергей Бурладян wrote:
> alexander lunyov <lan@zato.ru> writes:
>
>> This error happening also when i'm trying to CREATE TEXT SEARCH DICTIONARY:
>>
>> ports=# CREATE TEXT SEARCH DICTIONARY ruispell (
>> ports(#     TEMPLATE = ispell,
>> ports(#     DictFile = russian,
>> ports(#     AffFile = russian,
>> ports(#     StopWords = russian
>> ports(# );
>> ERROR:  неверная последовательность байт имя кодировки "UTF8": 0xd1
>> ПОДСКАЗКА:  This error can also happen if the byte sequence does not match the
>> encoding expected by the server, which is controlled by "client_encoding".
>> ports=#
>
> А файлы словарей в какой кодировке ? Наверное в них дело.
>

# file russian.affix russian.dict russian.stop
russian.affix: UTF-8 Unicode text
russian.dict:  UTF-8 Unicode text
russian.stop:  UTF-8 Unicode text



--
alexander lunyov

pgsql-ru-general by date:

Previous
From: eshkinkot@gmail.com (Сергей Бурладян)
Date:
Subject: Re: full text search, utf8
Next
From: alexander lunyov
Date:
Subject: Re: full text search, utf8