| From: | Artur Zakirov <a(dot)zakirov(at)postgrespro(dot)ru> |
|---|---|
| To: | Stas Kelvich <stas(dot)kelvich(at)gmail(dot)com> |
| Cc: | "Shulgin, Oleksandr" <oleksandr(dot)shulgin(at)zalando(dot)de>, PostgreSQL mailing lists <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Re: Mac OS: invalid byte sequence for encoding "UTF8" |
| Date: | 2016-01-27 12:28:51 |
| Message-ID: | 56A8B803.6000506@postgrespro.ru |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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 language filter? =)
>
> 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 | Content-Type | Size |
|---|---|---|
| test.c | text/x-csrc | 399 bytes |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Yury Zhuravlev | 2016-01-27 12:30:10 | Re: Proposal:Use PGDLLEXPORT for libpq |
| Previous Message | Rushabh Lathia | 2016-01-27 12:23:36 | Re: Optimization for updating foreign tables in Postgres FDW |