pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Hiroshi Inoue <inoue@tpf.co.jp>
To: Johann Zuschlag <zuschlag2@online.de>
Cc: Dave Page <dpage@vale-housing.co.uk>
Cc: pgsql-odbc@postgresql.org
Subject: Re: Unicode is not UTF-8. was :psqlODBC-Driver Test / text
Date: Sat, 01 Apr 2006 10:35:37 +0900
Message-ID: <442DD8E9.2080007@tpf.co.jp> (raw)
In-Reply-To: <442D5FD1.4010909@online.de>
References: <E7F85A1B5FF8D44C8A1AF6885BC9A0E4011C98F3@ratbert.vale-housing.co.uk>
	<442C3452.5020704@online.de>
	<442C4F10.3090004@tpf.co.jp>
	<442D5DFB.4080501@online.de>
	<442D5FD1.4010909@online.de>

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



view thread (17+ messages)  latest in thread

Message-ID: <442DD8E9.2080007@tpf.co.jp>
Permalink:  ../442DD8E9.2080007@tpf.co.jp/
Also on:    postgresql.org/message-id/442DD8E9.2080007@tpf.co.jp

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: inoue@tpf.co.jp, zuschlag2@online.de, dpage@vale-housing.co.uk
  Subject: Re: Unicode is not UTF-8. was :psqlODBC-Driver Test / text
  In-Reply-To: <442DD8E9.2080007@tpf.co.jp>
  References: <E7F85A1B5FF8D44C8A1AF6885BC9A0E4011C98F3@ratbert.vale-housing.co.uk> <442C3452.5020704@online.de> <442C4F10.3090004@tpf.co.jp> <442D5DFB.4080501@online.de> <442D5FD1.4010909@online.de> <442DD8E9.2080007@tpf.co.jp>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox