Re: - Mailing list pgadmin-hackers

From Andreas Pflug
Subject Re:
Date
Msg-id 3F7B0FEC.4010707@pse-consulting.de
Whole thread Raw
In response to Re:  ("Hiroshi Saito" <saito@inetrt.skcapi.co.jp>)
List pgadmin-hackers
Hiroshi Saito wrote:

>From: "Andreas Pflug" <pgadmin@pse-consulting.de>
>
>
>
>>Serguei A. Mokhov wrote:
>>
>>
>>
>>>Hi,
>>>
>>>I think I have a similar issue... A pgAdmin III user contacted me with the
>>>question why they can't see the data in Russian and how to to solve the
>>>problem. I queried them for more information. I think their data must be
>>>encoded in some other encoding (e.g. KOI8-R) and when it gets to the
>>>client side, it's not converted.
>>>
>>>
>>>
>>>
>>This is correctly diagnosed, non-ascii data in a SQL_ASCII encoded
>>database will not be shown because the server doesn't know how to encode
>>it in Unicode.
>>
>>This is fixed for HEAD and BRANCH.
>>
>>
>
>No.
>Server encoding as below.
>

This is not suitable for non-ascii chars, because the upper bit will be
chopped off (ascii->utf8), effectively destroying the string, or
converted to a bogus char (xx), effectively destroying the string.

Regards,
Andreas



pgadmin-hackers by date:

Previous
From: Jean-Michel POURE
Date:
Subject: MacOSX compilation steps
Next
From: "Hiroshi Saito"
Date:
Subject: Re: