Re: Unicode is not UTF-8. was :psqlODBC-Driver Test / text - Mailing list pgsql-odbc

From Hiroshi Inoue
Subject Re: Unicode is not UTF-8. was :psqlODBC-Driver Test / text
Date
Msg-id 442DD8E9.2080007@tpf.co.jp
Whole thread Raw
In response to Re: Unicode is not UTF-8. was :psqlODBC-Driver Test / text  (Johann Zuschlag <zuschlag2@online.de>)
Responses Re: Unicode is not UTF-8. was :psqlODBC-Driver Test / text  (Johann Zuschlag <zuschlag2@online.de>)
List pgsql-odbc
Johann Zuschlag wrote:
> Johann Zuschlag schrieb:
>
>>
> No, again wrong. Or is it more like this:
>
> 1.
> a) locale = ISO8859-1
>    backend-1 = LATIN1
>
> b) locale = UTF-8
>    backend-2 = Unicode

What do you mean by the Unicode and are you really setting b)
as above ?

First note that in PostgreSQL the encoding has nothing to do
with the locale setting. Though PostgreSQL manages the encoding
settings by itself, as for the locale setting it completely relies
on the OS environment. There exists an essential flaw from the first.
Anyway you can change the encoding as you like per database at
createdb time but the locale setting LC_COLLATE and LC_CTYPE are
fixed at initdb time.

regards,
Hiroshi Inoue

pgsql-odbc by date:

Previous
From: Bart Samwel
Date:
Subject: Re: Unicode is not UTF-8. was :psqlODBC-Driver Test / text
Next
From: Hiroshi Inoue
Date:
Subject: Re: Strange Update query ...