Re: "Invalid multibyte character for locale" still there - Mailing list pgsql-general

From Tom Lane
Subject Re: "Invalid multibyte character for locale" still there
Date
Msg-id 21160.1107195409@sss.pgh.pa.us
Whole thread Raw
In response to "Invalid multibyte character for locale" still there  (Marian POPESCU <softexpert@libertysurf.fr>)
List pgsql-general
Marian POPESCU <softexpert@libertysurf.fr> writes:
> I put up a testcase at
> http://perso.netpratique.fr/softexpert/pgsql/unicodetest.data.gz

After experimenting, the only case in which I could get that failure was
to deliberately force a database encoding incompatible with the locale,
namely initdb with LC_ALL=en_US (which is implicitly Latin1 on FC3) and
then "createdb -E unicode".  So I think this is pilot error.  You
need to be careful to use a database encoding consistent with the locale
setting.  (In 8.0, initdb should usually get this right if you don't
override it.)

            regards, tom lane

pgsql-general by date:

Previous
From: Si Chen
Date:
Subject: how to release a transaction lock on a table?
Next
From: Shawn Harrison
Date:
Subject: Re: Allowing update of column only from trigger