|
OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD. |
|
Thread Tools | Display Modes |
|
|||
postgresql chinese character problem
This is what I get if I try to insert values in chinese, although the database is created with -E utf8:
$ psql a Welcome to psql 8.2.6, the PostgreSQL interactive terminal. Type: \copyright for distribution terms \h for help with SQL commands \? for help with psql commands \g or terminate with semicolon to execute query \q to quit a=# \encoding UTF8 a=# insert into a (aa) values (自由); ERROR: column "自由" does not exist LINE 1: insert into a (aa) values (自由); ^ a=# select * from a; aa ---- 1 2 3 4 5 6 (6 rows) As you can see, I inserted some number values just to try if it worked. Only, it does not accept chinese. Any ideas? I'm running the package that comes with OpenBSD 4.3, running in Mlterm. Also see my thread in X11, for problems with character input. Thank you |
|
|||
Thank you wilfried, problem solved!
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
HOWTO: ISO-8859-1 Character Set on NetBSD | JMJ_coder | Guides | 0 | 25th February 2009 12:53 AM |
Big5 Character Set in Apache problem after upgrade to 6.4 | paul-lkw | FreeBSD Installation and Upgrading | 0 | 23rd February 2009 09:20 AM |
Do you need hard link for PostgreSQL? | Sunnz | General software and network | 5 | 26th October 2008 07:07 PM |
[FreeBSD] which version of PostgreSQL? | MacApp | FreeBSD Ports and Packages | 8 | 12th July 2008 09:25 AM |
PostgreSql rc.d script | fridder | FreeBSD Ports and Packages | 1 | 1st July 2008 01:12 AM |