pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Marc Cousin <cousinmarc@gmail.com>
To: John R Pierce <pierce@hogranch.com>
Cc: Pavel Stehule <pavel.stehule@gmail.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #5801: characters not encoded properly for column names
Date: Thu, 23 Dec 2010 18:29:49 +0100
Message-ID: <201012231829.49400.cousinmarc@gmail.com> (raw)
In-Reply-To: <4D138533.2080105@hogranch.com>
References: <201012231018.oBNAIfdF020454@wwwmaster.postgresql.org>
	<201012231134.47840.cousinmarc@gmail.com>
	<4D138533.2080105@hogranch.com>

Le jeudi 23 décembre 2010 18:21:55, John R Pierce a écrit :
> On 12/23/10 2:34 AM, Marc Cousin wrote:
> > No, from a Linux psql client (inside a kde konsole). You can setup any
> > charset in it. I have exactly the same behaviour with psql under windows
> > anyway, with a chcp 1252 in the cmd console. It's not a console charset
> > problem, I've tripled checked that :)
> > 
> > And anyway, this character shouldn't get into the database as UTF8, as it
> > is 1252 (hence the error message).
> 
> does client_encoding affect names ?  (I'm asking because I have no idea).
Yes (for the Linux server, for Windows it fails).
I have exactly the same problem if I test with LATIN9 (except that the utf8 
error message has a different value for the bad character).

> 
> what encodings are the database clusters on the two platforms?

Oh. Both are UTF-8.




view thread (9+ messages)  latest in thread

Message-ID: <201012231829.49400.cousinmarc@gmail.com>
Permalink:  ../201012231829.49400.cousinmarc@gmail.com/
Also on:    postgresql.org/message-id/201012231829.49400.cousinmarc@gmail.com

 · 

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-bugs@postgresql.org
  Cc: cousinmarc@gmail.com, pierce@hogranch.com, pavel.stehule@gmail.com
  Subject: Re: BUG #5801: characters not encoded properly for column names
  In-Reply-To: <201012231829.49400.cousinmarc@gmail.com>
  References: <201012231018.oBNAIfdF020454@wwwmaster.postgresql.org> <201012231134.47840.cousinmarc@gmail.com> <4D138533.2080105@hogranch.com> <201012231829.49400.cousinmarc@gmail.com>

* 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