pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: John R Pierce <pierce@hogranch.com>
To: pgsql-bugs@postgresql.org
Subject: Re:  Re: [BUGS] BUG #13932: German ß not a valid character in psql
Date: Sun, 7 Feb 2016 04:22:53 -0800
Message-ID: <56B7371D.9040207@hogranch.com> (raw)
In-Reply-To: <0925DBC7-ECA9-46C3-B10D-F7A370291198@mni.thm.de>
References: <20160207111437.2649.2177@wrigleys.postgresql.org>
	<56B7319D.7080108@hogranch.com>
	<0925DBC7-ECA9-46C3-B10D-F7A370291198@mni.thm.de>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

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



view thread (8+ messages)  latest in thread

Message-ID: <56B7371D.9040207@hogranch.com>
Permalink:  ../56B7371D.9040207@hogranch.com/
Also on:    postgresql.org/message-id/56B7371D.9040207@hogranch.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: pierce@hogranch.com
  Subject: Re: [BUGS] BUG #13932: German ß not a valid character in psql
  In-Reply-To: <56B7371D.9040207@hogranch.com>
  References: <20160207111437.2649.2177@wrigleys.postgresql.org> <56B7319D.7080108@hogranch.com> <0925DBC7-ECA9-46C3-B10D-F7A370291198@mni.thm.de> <56B7371D.9040207@hogranch.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