Re: [HACKERS] Re: [BUGS] Problems in 6.5.3 with Multi-Byte encoding

Tatsuo Ishii <t-ishii@sra.co.jp>

From: Tatsuo Ishii <t-ishii@sra.co.jp>
To: Oleg Bartunov <oleg@sai.msu.su>
Cc: Oliver Elphick <olly@lfix.co.uk>, pgsql-bugs@postgresql.org, pgsql-hackers@postgresql.org
Date: 1999-11-20T12:05:26Z
Lists: pgsql-bugs, pgsql-hackers
> I have another kind of problem related with MB and 6.5.3.
> 
> On FreeBSD 3.1:
[snip]
> It's interesting that on Linux I have no problem.
> I have no time right now to test 6.5.2 but I recall I had no
> such problem (not 100% sure).

I think no change has been made between 6.5.2 and 6.5.3 regarding MB.
Can you send me the KOI8 data and WIN data that is supposed to be
correct? I will check it out on a FreeBSD 3.2 machine.

> > With PostgreSQL compiled with support for locales and multi-byte encoding:
> > 
> > initdb -e BIG5

No, you cannot do this. If you want to use traditional Chinese, you
have to make a database with EUC_TW (initdb -e EUC_TW) then set the
PGCLIENTENCODING environment variable to BIG5 on the client side. See
doc/README.mb for more details.

Maybe initdb should reject BIG5. I will do it in for the next release.
---
Tatsuo Ishii