Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1aSOMo-0007Th-Tv for pgsql-bugs@arkaria.postgresql.org; Sun, 07 Feb 2016 12:23:03 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1aSOMo-0006hg-7V for pgsql-bugs@arkaria.postgresql.org; Sun, 07 Feb 2016 12:23:02 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1aSOMn-0006hE-HN for pgsql-bugs@postgresql.org; Sun, 07 Feb 2016 12:23:01 +0000 Received: from hogranch.com ([75.101.82.47]) by magus.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1aSOMg-0005AL-Cu for pgsql-bugs@postgresql.org; Sun, 07 Feb 2016 12:23:01 +0000 Received: from [192.168.0.2] (porker [192.168.0.2]) by hogranch.com (8.11.6/8.11.6) with ESMTP id u17CMj728578 for ; Sun, 7 Feb 2016 04:22:45 -0800 Subject: =?UTF-8?Q?Re:__Re:_[BUGS]_BUG_#13932:_German_=c3=9f_not_a_val?= =?UTF-8?Q?id_character_in_psql?= To: pgsql-bugs@postgresql.org References: <20160207111437.2649.2177@wrigleys.postgresql.org> <56B7319D.7080108@hogranch.com> <0925DBC7-ECA9-46C3-B10D-F7A370291198@mni.thm.de> From: John R Pierce Message-ID: <56B7371D.9040207@hogranch.com> Date: Sun, 7 Feb 2016 04:22:53 -0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 In-Reply-To: <0925DBC7-ECA9-46C3-B10D-F7A370291198@mni.thm.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-HawgScanner-Information: Please contact the ISP for more information X-HawgScanner: Found to be clean X-Pg-Spam-Score: -2.1 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org On 2/7/2016 4:06 AM, Burkhardt Renz wrote: > That’s right. > But if I enter ß on the keyboard or from the clipboard, > psql takes this as 0x03 0x77 instead of 0xc3 0x97. that must be a mac osx or something because thats sure not a valid UTF8 code. pierce=# select 'ß', encode('ß', 'hex'); ?column? | encode ----------+-------- ß | c39f (1 row) pierce=# show client_encoding; client_encoding ----------------- UTF8 (1 row) and in linux shell, $ locale charmap UTF-8 -- john r pierce, recycling bits in santa cruz -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs