On tis, 2011-09-20 at 00:32 -0400, Tom Lane wrote:
> =?Big5?B?pHCoqA==?= <e9320...@gmail.com> writes:
> > Use   ALTER TABLE item  ALTER COLUMN title TYPE character varying(2000)
> > COLLATE pg_catalog."zh_TW.euctw";
> > but, SQL state: 42704  "UTF8" "pg_catalog.zh_TW.euctw" not found
> 
> I hope that's not the exact phrasing of the error message ... but
> what it's probably trying to tell you is that you can't use an EUC_TW
> based locale in a database with UTF8 encoding.  Try zh_TW.utf8.

It's usually easier to just use COLLATE "zh_TW", and it will pick up the
right encoding.


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

Reply via email to