pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Benjamin Riefenstahl <Benjamin.Riefenstahl@epost.de>
To: Gunnar Groetschel <ggroetschel@sokoma.de>
Cc: Pgsql-Odbc (E-Mail) <pgsql-odbc@postgresql.org>
Subject: Re: PLEASE: I really need german characters
Date: Thu, 04 Dec 2003 18:05:24 +0100
Message-ID: <m3d6b48qej.fsf@seneca.benny.turtle-trading.net> (raw)
In-Reply-To: <CCD5F31905BC4F43984EAB37695E0B3C2ED0@helios.Sokoma.local>
References: <CCD5F31905BC4F43984EAB37695E0B3C2ED0@helios.Sokoma.local>

Hi Gunnar,

"Gunnar Groetschel" <ggroetschel@sokoma.de> writes:
> I have tried all "SET CLIENT_ENCODING TO '*'" but nothin worked.

Well, this has definitly an effect here in my installation with
SERVER_ENCODING=UNICODE.  It's possible though, that PostgreSQL treats
a conversion from SERVER_ENCODING=SQL_ASCII to CLIENT_ENCODING=LATIN1
or any other encoding as a no-op, which is not surprising.  Try to
setup your database as UNICODE or LATIN1 and see if SET
CLIENT_ENCODING works than.

> I have set up the debugging and PGAdmin says that it is using the
> SQL_ASCII encoding. All the Umlauts are there. This is really
> curious.

To repeat: "ASCII" means "there are no umlauts, and if you insist on
putting random 8-bit characters into the database, you are on your
own."  There is nothing curious about that this works in some
applications and doesn't work in others.  Unless I am missing
something here.

benny




view thread (12+ messages)  latest in thread

Message-ID: <m3d6b48qej.fsf@seneca.benny.turtle-trading.net>
Permalink:  ../m3d6b48qej.fsf@seneca.benny.turtle-trading.net/
Also on:    postgresql.org/message-id/m3d6b48qej.fsf@seneca.benny.turtle-trading.net

 · 

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: Benjamin.Riefenstahl@epost.de, ggroetschel@sokoma.de
  Subject: Re: PLEASE: I really need german characters
  In-Reply-To: <m3d6b48qej.fsf@seneca.benny.turtle-trading.net>
  References: <CCD5F31905BC4F43984EAB37695E0B3C2ED0@helios.Sokoma.local> <m3d6b48qej.fsf@seneca.benny.turtle-trading.net>

* 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