Thread: Does Psql support Chinese?

Does Psql support Chinese?

From
cc21cn@21cn.com
Date:
I want to build a database in chinese.
But when I input chinese in the linux  psql client , it doent's display well.
So how can I solve it?
Thanks for your reply!


CC  cc21cn@21cn.com


Re: Does Psql support Chinese?

From
Tatsuo Ishii
Date:
> I want to build a database in chinese.
> But when I input chinese in the linux  psql client , it doent's display well.
> So how can I solve it?

Does your cat command show your Chinese texts correctly? If not, that
might not be a PostgreSQL problem.

BTW, what kind of encoding are you using for your Chinese texts?
--
Tatsuo Ishii

Re: Does Psql support Chinese?

From
cc21cn@21cn.com
Date:
I'm sure that my bash supports chinese .
And the cat ,less command also display chinese well.
I using the GB code chinese.
Thank U!




Re: Does Psql support Chinese?

From
Tatsuo Ishii
Date:
> > I want to build a database in chinese.
> > But when I input chinese in the linux  psql client , it doent's display well.
> > So how can I solve it?
>
> Does your cat command show your Chinese texts correctly? If not, that
> might not be a PostgreSQL problem.
>
> BTW, what kind of encoding are you using for your Chinese texts?

Sorry, I lost your reply mail but I recall that you could show Chinese
character on your Linux. If so, can you send me the actual Chinese
text?  (shorter one is preferable, say 10 bytes are enough).
--
Tatsuo IShii

Re: Re: Does Psql support Chinese?

From
cc21cn@21cn.com
Date:
   Thank U for your reply.
   When I mean input chinese in the psql client ,I just want to build a database
 with the chinese instance or the chinese table name.So an example is :
        "  ������   ����    ����   ����"






Re: Re: Does Psql support Chinese?

From
Tatsuo Ishii
Date:
>    Thank U for your reply.
>    When I mean input chinese in the psql client ,I just want to build a database
>  with the chinese instance or the chinese table name.So an example is :
[Chinese text snipped]

Can you check to see if the result is correct or not?  Seems works
fine for me.

Please look at:
http://www.sra.co.jp/people/t-ishii/tmp/gb.jpg
--
Tatsuo Ishii


Re: Re: Does Psql support Chinese?

From
Tatsuo Ishii
Date:
> I'm Sorry. I can't reach your page because my network only allows email to the world.

Oh, how can you get PostgreSQL sources from the Internet?:-)

Anyway, I will send you the image by a private mail.
--
Tatsuo Ishii