Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id EAE511337B49 for ; Thu, 23 Dec 2010 13:22:17 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 85306-04 for ; Thu, 23 Dec 2010 17:22:10 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from hogranch.com (hogranch.com [75.101.82.47]) by mail.postgresql.org (Postfix) with ESMTP id 9B6211337B7D for ; Thu, 23 Dec 2010 13:22:09 -0400 (AST) Received: from [127.0.0.1] (porker [192.168.0.2]) by hogranch.com (8.11.6/8.11.6) with ESMTP id oBNHM0818673; Thu, 23 Dec 2010 09:22:00 -0800 Message-ID: <4D138533.2080105@hogranch.com> Date: Thu, 23 Dec 2010 09:21:55 -0800 From: John R Pierce User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.13) Gecko/20101207 Lightning/1.0b2 Thunderbird/3.1.7 MIME-Version: 1.0 To: Marc Cousin CC: Pavel Stehule , pgsql-bugs@postgresql.org Subject: Re: BUG #5801: characters not encoded properly for column names References: <201012231018.oBNAIfdF020454@wwwmaster.postgresql.org> <201012231134.47840.cousinmarc@gmail.com> In-Reply-To: <201012231134.47840.cousinmarc@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-HawgScanner-Information: Please contact the ISP for more information X-HawgScanner: Found to be clean X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-5 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201012/172 X-Sequence-Number: 28978 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). what encodings are the database clusters on the two platforms?