Re: Encoding problem - Mailing list pgsql-bugs

From danny
Subject Re: Encoding problem
Date
Msg-id 005201c0b218$5d2e2b80$f100a8c0@japan.autotools.net
Whole thread Raw
In response to Encoding problem  (pgsql-bugs@postgresql.org)
Responses Re: Encoding problem  (Tatsuo Ishii <t-ishii@sra.co.jp>)
List pgsql-bugs
Dear Sir :
      Thanx. After tried it again, it still couldn't work now.
      The result is the same error.
    *********************************************
 template1=# \encoding
EUC_TW
template1=# \z
Access permissions for database "template1"
 Relation | Access permissions
----------+--------------------
(0 rows)

template1=# create table a( a text);
CREATE
template1=# insert into a values('許多');
INSERT 18761 1
template1=# select * from a;
  a
-----
 釵h
(1 row)

template1=# insert into a values('許\多');
INSERT 18762 1
template1=# select * from a;
  a
------
 釵h
 許多
(2 rows)
 *********************************************
It seems it ate the "\" , so the word it appeared not the origin one.
                                                                      Danny

----- Original Message -----
From: "Tatsuo Ishii" <t-ishii@sra.co.jp>
To: <danny.kao@autotools.com.tw>; <pgsql-bugs@postgresql.org>
Sent: Wednesday, March 21, 2001 10:14 PM
Subject: Re: [BUGS] Encoding problem


> Danny Kao (danny.kao@autotools.com.tw) reports a bug with a severity of 2
> The lower the number the more severe it is.
>
> Short Description
> Encoding problem
>
> Long Description
> I have tried "initdb --encoding=BIG5"

You cannot do that (documented in README.mb). If you want to use
traditional chinese do:

initdb --encoding=EUC_TW

instead.
--
Tatsuo Ishii

pgsql-bugs by date:

Previous
From: Webmaster
Date:
Subject: Help
Next
From: "M, Eichhorn"
Date:
Subject: Re: Some regression tests are failed RH7.0