Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 7660B1337B4A for ; Fri, 21 Jan 2011 16:28:39 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 44497-09 for ; Fri, 21 Jan 2011 20:28:32 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pw0-f46.google.com (mail-pw0-f46.google.com [209.85.160.46]) by mail.postgresql.org (Postfix) with ESMTP id B8C261337B5C for ; Fri, 21 Jan 2011 16:28:31 -0400 (AST) Received: by pwj3 with SMTP id 3so366757pwj.19 for ; Fri, 21 Jan 2011 12:28:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=BiGB5q/r1AXw1z2DlmkrtDRaK08QbTkdNc0vR9g/Sr8=; b=VA2+EDAKDI3Y1af7OUm6QLyKiELDdSsXkLRmQBSfEk5tu1FUomWNk8ngdCnfRW6nwx SMxzALqUubNlC+ylzQSI/mJYi+s3yfjING/+IPyud26ZSQMKmB4eWuVkThWUpyXd/egd LG3xL2jN3oM2YYSWXinqymR2P2jPDNTSM0KzI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=RRC99O0NBa6FK2EybNsXeDieXngYKelLLQigabcYZD0QbZTkfBP2zM/0I+omdH1tKz NOOq3YnRZ9NMjGYqJjypd7RmZocR5Hpys9LQoRHs6dN5x01CULsXWOuDqRo/QT9uYc3U MHtUj7wt8eObKwGjuZIxmnM0z7ibwkCodUCAc= Received: by 10.142.107.21 with SMTP id f21mr1191351wfc.111.1295641711120; Fri, 21 Jan 2011 12:28:31 -0800 (PST) Received: from [192.168.0.107] (c-24-17-179-185.hsd1.wa.comcast.net [24.17.179.185]) by mx.google.com with ESMTPS id v19sm13137210wfh.0.2011.01.21.12.28.28 (version=SSLv3 cipher=RC4-MD5); Fri, 21 Jan 2011 12:28:29 -0800 (PST) Message-ID: <4D39EC6A.6060304@gmail.com> Date: Fri, 21 Jan 2011 12:28:26 -0800 From: Adrian Klaver User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: Kim Mortensen CC: Hiroshi Saito , pgsql-odbc@postgresql.org Subject: Re: problem connecting via ODBC when unicode (now in correct forum.). References: <201101210806.06568.adrian.klaver@gmail.com> <201101210833.49544.adrian.klaver@gmail.com> <4D39CD82.6070101@winpg.jp> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.599 tagged_above=-10 required=5 tests=BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7 X-Spam-Level: X-Archive-Number: 201101/13 X-Sequence-Number: 10560 On 01/21/2011 10:20 AM, Kim Mortensen wrote: > Thank you for your input, > > it may be that only ascii chars is to be used, however it should be > stated or a bug report filled out, as you can insert Login Roles with > different charakterset as you can actually use. > > Best Regards > Kim Mortesnen > > I cranked up a virtual instance of Windows XP to try to figure this out. Turns out I need to know more about how encoding works on Windows. I had no problem creating the role æøå on my Linux server and logging in using psql. On Windows not so, I get: Username [postgres]: æøå Password for user µ°Õ: psql: FATAL: password authentication failed for user "æøå" and through ODBC: 2011-01-21 12:16:32 PSTFATAL: password authentication failed for user "æøå" Seems client encoding is getting in the way somehow, just not sure how. -- Adrian Klaver adrian.klaver@gmail.com