Does Psql support Chinese?

Started by Nonamealmost 26 years ago7 messagesgeneral
Jump to latest
#1Noname
cc21cn@21cn.com

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

#2Tatsuo Ishii
t-ishii@sra.co.jp
In reply to: Noname (#1)
Re: Does Psql support Chinese?

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

#3Noname
cc21cn@21cn.com
In reply to: Tatsuo Ishii (#2)
Re: Does Psql support Chinese?

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!

#4Tatsuo Ishii
t-ishii@sra.co.jp
In reply to: Tatsuo Ishii (#2)
Re: Does Psql support Chinese?

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

#5Noname
cc21cn@21cn.com
In reply to: Tatsuo Ishii (#4)
Re: Re: Does Psql support Chinese?

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 :
" �������������� ������������ ������������ ������������"

#6Tatsuo Ishii
t-ishii@sra.co.jp
In reply to: Noname (#5)
Re: Re: Does Psql support Chinese?

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

#7Tatsuo Ishii
t-ishii@sra.co.jp
In reply to: Tatsuo Ishii (#6)
Re: Re: Does Psql support Chinese?

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