Re:     & - Mailing list pgsql-general

From stevegy
Subject Re:     &
Date
Msg-id 4524FAE5.000072.19567@bj126app12.126.com
Whole thread Raw
In response to Re:     H  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
Hi Tom,
 
Thank you for your reply.
 
I think the character map is a problem. So I see the choices for the Chinese user is:
1. use the EUC_CN
2. use the UTF-8
The first choice is what i'm using and the problem is clear to me. I can not store some special characters into the PostgreSQL with this encoding because the character is out of range.
The second what i am testing now still in some strange issue for the sorting order.
 
So, any other choice for continuing use the PostgreSQL in my situation?
 

-- Steve Yao

 

 



-----原始邮件-----
发件人:"Tom Lane"
发送时间:2006-10-05 09:50:56
收件人:"stevegy"
抄送:"martijn van oosterhout" ,"pgsql-general@postgr"
主题:Re:    [GENERAL] H


"stevegy" <stevegy@126.com> writes:
> I really want to know why the server side encoding for GB18030 is not supported?

Because it overlaps the ASCII character set, ie, it has multibyte
characters in which some of the bytes don't have the high bit set.
That creates too many parsing risks for us to be willing to deal
with it inside the backend.
		regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?
              http://www.postgresql.org/docs/faq







3G 时 代 来 临 了,坚 决 对 传 统 邮 箱 说 不 !
新 一 代 极 速 3G 邮 箱 闪 亮 登 场 ,280 兆 网 盘 免 费 送 ! 点 击 此 处 注 册

pgsql-general by date:

Previous
From: Emanuele Rocca
Date:
Subject: Re: UNIQUE constraints on function results
Next
From: Markus Schiltknecht
Date:
Subject: Re: UNIQUE constraints on function results