Re: BUG #4257: about unicode extend
От | ArLi |
---|---|
Тема | Re: BUG #4257: about unicode extend |
Дата | |
Msg-id | 485D7BE1.40708@163.com обсуждение исходный текст |
Ответ на | Re: BUG #4257: about unicode extend (Michael Fuhr <mike@fuhr.org>) |
Список | pgsql-bugs |
very sorry, is i wrong.. the version is 8.0.15. i just copyed from wrong of server-terminal window.. -_-! thank you for help. arli Michael Fuhr wrote: > On Sat, Jun 21, 2008 at 01:25:15PM +0000, arli weng wrote: >=20=20=20 >> PostgreSQL version: 8.3 >>=20=20=20=20=20 > > What does "SELECT version()" return? I'm wondering if the server > isn't 8.3 but rather an earlier version (see below). > >=20=20=20 >> the command (chinese by utf-8): >> INSERT INTO "title" VALUES(46307243,46307898,'=E9=85=8B=E9=BC=A0=F0=AA= =95=A8'); >> >> in sqlite text type, no problem.. >> in postgres report error: >> >> invalid byte sequence for encoding "UNICODE": 0xf0 >>=20=20=20=20=20 > > Your INSERT statement works for me in 8.3.3, 8.2.9, and 8.1.13. > According to the release notes version 8.1 changed UNICODE to UTF8 > and added support for 4-byte characters, so the fact that the error > says "UNICODE" and your database doesn't appear to support 4-byte > characters makes me wonder if you're running 8.0 or earlier. > >=20=20=20
В списке pgsql-bugs по дате отправления: