Re: [BUG] - Invalid UNICODE character sequence found(0xc000)
От | Paul Thomas |
---|---|
Тема | Re: [BUG] - Invalid UNICODE character sequence found(0xc000) |
Дата | |
Msg-id | 20040202105325.H9502@bacon обсуждение исходный текст |
Ответ на | Re: [BUG] - Invalid UNICODE character sequence found(0xc000) (Tom Lane <tgl@sss.pgh.pa.us>) |
Список | pgsql-jdbc |
On 02/02/2004 03:26 Tom Lane wrote: > The bug turns out not to be Fedora-specific at all. I believe it will > happen on any platform if you are using both a multibyte database > encoding (such as Unicode) *and* a non-C locale. > > PG 7.4 has a more restricted form of the bug --- it's not locale > specific but does still require a multibyte encoding. Here is a Unicode > example: > > test=# select * from test where txtfield like '\277%'; -- > ERROR: invalid byte sequence for encoding "UNICODE": 0xc0 > > I've committed fixes in both CVS branches. Thanks Tom. I've recompiled on my Fedora box using 7.3 CVS tip and it's now a happy bunny :) -- Paul Thomas +------------------------------+---------------------------------------------+ | Thomas Micro Systems Limited | Software Solutions for the Smaller Business | | Computer Consultants | http://www.thomas-micro-systems-ltd.co.uk | +------------------------------+---------------------------------------------+
В списке pgsql-jdbc по дате отправления: