Re: equal operator fails on two identical strings if initdb - Mailing list pgsql-bugs

From Kent Tong
Subject Re: equal operator fails on two identical strings if initdb
Date
Msg-id 41A464F9.3030502@cpttm.org.mo
Whole thread Raw
In response to Re: equal operator fails on two identical strings if initdb uses the traditional chinese locale  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: equal operator fails on two identical strings if initdb
List pgsql-bugs
Peter Eisentraut wrote:
>>Here is a test (run in pgadmin III):
>>1. createdb db1 -E Unicode
>
>
> Probably your locale does not support Unicode.  You need to pick an
> encoding that matches your locale or vice versa.

Is there any way to check?
I have other programs reading and writing Unicode on this
computer without problems.

>>BTW, the locale for traditional chinese in postgresql.conf is
>>set to "traditional-chinese" literally. Shouldn't it be
>>zh_TW?
>
>
> That depends on what locale names the Windows operating system
> understands.

Are you using the locale routines in mingw?

pgsql-bugs by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: equal operator fails on two identical strings if initdb uses the traditional chinese locale
Next
From: "PostgreSQL Bugs List"
Date:
Subject: BUG #1328: psql don't accept some valid PGCLIENTENCODING values