Re: Mac OS: invalid byte sequence for encoding "UTF8" - Mailing list pgsql-hackers

From Artur Zakirov
Subject Re: Mac OS: invalid byte sequence for encoding "UTF8"
Date
Msg-id 56A8B803.6000506@postgrespro.ru
Whole thread Raw
In response to Re: Mac OS: invalid byte sequence for encoding "UTF8"  (Stas Kelvich <stas.kelvich@gmail.com>)
Responses Re: Mac OS: invalid byte sequence for encoding "UTF8"  (Artur Zakirov <a.zakirov@postgrespro.ru>)
List pgsql-hackers
On 27.01.2016 14:14, Stas Kelvich wrote:
> Hi.
>
> I tried that and confirm strange behaviour. It seems that problem with small cyrillic letter ‘х’. (simplest obscene
languagefilter? =) 
>
> That can be reproduced with simpler test
>
> Stas
>
>

The test program was corrected. Now it uses wchar_t type. And it works
correctly and gives right output.

I think the NIImportOOAffixes() in spell.c should be corrected to avoid
this bug.

--
Artur Zakirov
Postgres Professional: http://www.postgrespro.com
Russian Postgres Company

Attachment

pgsql-hackers by date:

Previous
From: Rushabh Lathia
Date:
Subject: Re: Optimization for updating foreign tables in Postgres FDW
Next
From: Yury Zhuravlev
Date:
Subject: Re: Proposal:Use PGDLLEXPORT for libpq