Re: pl/perl and utf-8 in sql_ascii databases
Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>
From: Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>
To: alvherre@commandprompt.com
Cc: badalex@gmail.com, cb@df7cb.de, pgsql-hackers@postgresql.org
Date: 2012-06-21T12:02:58Z
Lists: pgsql-hackers
Ouch! > # UtfToLocal() seems to have a bug that always report illegal > # encoding was "UTF8" regardless of the real encoding. But > # plper_lc_*.(sql|out) increases if the bug is fixed. This is not a bug. The error message "invalid byte sequence for encoding "UTF8"" meant "invalid INPUT byte sequence as encoding "UTF8"" not encoding for output.. So the regtest patch covers all of possible patterns - UTF8 and SQL_ASCII.. regards, -- Kyotaro Horiguchi NTT Open Source Software Center == My e-mail address has been changed since Apr. 1, 2012.