pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Johann Zuschlag <zuschlag2@online.de>
To: Hiroshi Inoue <inoue@tpf.co.jp>
Cc: Dave Page <dpage@vale-housing.co.uk>
Cc: pgsql-odbc@postgresql.org
Subject: Re: Unicode is not UTF-8
Date: Thu, 06 Apr 2006 19:57:22 +0200
Message-ID: <44355682.7080406@online.de> (raw)
In-Reply-To: <4432888B.30801@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>
	<4430E80F.1010706@online.de>
	<4432888B.30801@tpf.co.jp>

Hiroshi Inoue schrieb:
> b) locale = de_DE.UTF-8
>>   backend-2 = Unicode
>
>
> What's the result of
>    show server_encoding
Hi Hiroshi,

when I use an unicode database it is UNICODE,
for LATIN1 it's of course LATIN1.
(and for LATIN9 it's LATIN9)

Thank you for your explanations. Now I'm understanding what is happening 
with a windows client on one end and PostgreSQL on the other end.

I am just experimenting with the three above settings (initdb with 
ISO8859-15, locale ISO8859-15 only). So far it seems to work pretty 
well. No problems with an application using psqlodbc driver. All German 
characters including euro (LATIN9, UNICODE) seem to work. Sorting is ok. 
pgAdminIII is producing the same output. psql works as well, except psql 
in conjunction with unicode behaves still a little bit strange. Maybe my 
locale setting is not appropriate, but de_DE.UTF-8 doesn't change it. 
Will check my console later.

Unfortunately I couldn't test 7.03.262 (psqlodbc35W.dll) since the zip 
file has some kind of error.

Regards,
Johann




view thread (2+ messages)  latest in thread

Message-ID: <44355682.7080406@online.de>
Permalink:  ../44355682.7080406@online.de/
Also on:    postgresql.org/message-id/44355682.7080406@online.de

 · 

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: zuschlag2@online.de, inoue@tpf.co.jp, dpage@vale-housing.co.uk
  Subject: Re: Unicode is not UTF-8
  In-Reply-To: <44355682.7080406@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> <442DD8E9.2080007@tpf.co.jp> <4430E80F.1010706@online.de> <4432888B.30801@tpf.co.jp> <44355682.7080406@online.de>

* 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