Re: Encoding problem

From: "danny" <danny(dot)kao(at)autotools(dot)com(dot)tw>
To: <pgsql-bugs(at)postgresql(dot)org>, "Tatsuo Ishii" <t-ishii(at)sra(dot)co(dot)jp>
Subject: Re: Encoding problem
Date: 2001-03-21 15:05:27
Message-ID: 005201c0b218$5d2e2b80$f100a8c0@japan.autotools.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)sra(dot)co(dot)jp>
To: <danny(dot)kao(at)autotools(dot)com(dot)tw>; <pgsql-bugs(at)postgresql(dot)org>
Sent: Wednesday, March 21, 2001 10:14 PM
Subject: Re: [BUGS] Encoding problem

> Danny Kao (danny(dot)kao(at)autotools(dot)com(dot)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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message M, Eichhorn 2001-03-21 16:27:20 Re: Some regression tests are failed RH7.0
Previous Message Romolo Manfredini 2001-03-21 14:58:58 regcomp problems