Re: Big5 contains '\'

From: Tatsuo Ishii <t-ishii(at)sra(dot)co(dot)jp>
To: limin(at)pumpkinnet(dot)com
Cc: pgsql-hackers(at)postgresql(dot)org, pgsql-general(at)postgresql(dot)org
Subject: Re: Big5 contains '\'
Date: 2001-06-13 00:03:43
Message-ID: 20010613090343I.t-ishii@sra.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

> My project requires to use Big5/EUC_TW (two bytes per
> chinese-character).
>
> Unfortunately, Big5 code contains escape '\'.

PostgreSQL can handle Big5 since 6.5. Create a database with the encoding
EUC_TW, and set the client side encoding to BIG5. For example, set
PGCLIENTENCODING envrionment variable to BIG5 before starting psql or
any libpq based clients. For 7.0 or greater version of PostgreSQL, you
could also use \encoding command in psql.
--
Tatsuo Ishii

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2001-06-13 00:24:08 Re: PLPGSQL: Using SELECT INTO and EXECUTE
Previous Message GH 2001-06-12 23:33:30 Re: Adding a primary key

Browse pgsql-hackers by date

  From Date Subject
Next Message Justin Clift 2001-06-13 01:18:09 Re: Australian timezone configure option
Previous Message Tom Lane 2001-06-12 23:39:18 Re: AW: AW: Postgres Replication