Re: R: Re: [HACKERS] Chinese in Postgres

From: Rural Hunter <ruralhunter(at)gmail(dot)com>
To: pgsql-zh-general(at)postgresql(dot)org
Subject: Re: R: Re: [HACKERS] Chinese in Postgres
Date: 2013-08-17 06:16:29
Message-ID: 520F153D.9020302@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-ru-general pgsql-zh-general

Does your client have the Chinese fonts to display Chinese characters?
It looks more like font problem.

于 2013/8/16 20:40, ciifrancesco(at)tiscali(dot)it 写道:
> Thanks for your answer.
> Yes, the client is also UTF8:
>
> MyDB=# show
> client_encoding;
> client_encoding
> -----------------
> UTF8
> (1 row)
>
>
> Cheers
> Francesco
> ----Messaggio originale----
> Da: hannu(at)2ndQuadrant(dot)com
>
> Data: 16/08/2013 14.16
> A: "ciifrancesco(at)tiscali(dot)it"
> <ciifrancesco(at)tiscali(dot)it>
> Cc: <pgsql-hackers(at)postgresql(dot)org>, <pgsql-zh-
> general(at)postgresql(dot)org>, <pgsql-ru-general(at)postgresql(dot)org>
> Ogg: Re:
> [HACKERS] Chinese in Postgres
>
> On 08/16/2013 01:25 PM,
> ciifrancesco(at)tiscali(dot)it wrote:
>> Hello all,
>> before writing this
> message, I wrote about this in other mailing lists
>> without solving my
> problem.
>> Maybe some of you can help me.
>>
>> I have problems with a DB
> in postgres, when i try to insert Chinese
>> strings in UTF-8 format.
>>
> If I insert the data using a C++ program I have empty squares, in this
>
>> format: ��� (3 empty squares for each chinese ideogram as that is the
>> length in UTF-8)
>> If the string contains chinese mixed with ASCII,
> the ASCII is OK but
>> the Chinese is broken:
>> 漢語1-3漢語 --> ������1-
> 3������
> Can you cehck that your client encoding is also UTF8
>
> hannu=#
> show client_encoding ;
> client_encoding
> -----------------
> UTF8
> (1 row)
>
>
>
> Cheers
>
>

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Boszormenyi Zoltan 2013-08-17 10:08:16 Re: ECPG FETCH readahead
Previous Message Amit Kapila 2013-08-17 06:10:26 Re: ALTER SYSTEM SET command to change postgresql.conf parameters (RE: Proposal for Allow postgresql.conf values to be changed via SQL [review])

Browse pgsql-ru-general by date

  From Date Subject
Next Message Huang Bambo 2013-08-17 11:16:21 Re: [pgsql-zh-general] Chinese in Postgres
Previous Message ciifrancesco@tiscali.it 2013-08-16 13:29:41 R: 回复: R: Re: [HACKERS] Chinese in Postgres

Browse pgsql-zh-general by date

  From Date Subject
Next Message Huang Bambo 2013-08-17 11:16:21 Re: [pgsql-zh-general] Chinese in Postgres
Previous Message ciifrancesco@tiscali.it 2013-08-16 13:29:41 R: 回复: R: Re: [HACKERS] Chinese in Postgres