Re: Re: [BUGS] BUG #13932: German ß not a valid character in psql

From: John R Pierce <pierce(at)hogranch(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: Re: Re: [BUGS] BUG #13932: German ß not a valid character in psql
Date: 2016-02-07 12:22:53
Message-ID: 56B7371D.9040207@hogranch.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-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

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Francisco Olarte 2016-02-07 12:40:51 Re: [BUGS] Re: [BUGS] BUG #13932: German ß not a valid character in psql
Previous Message Burkhardt Renz 2016-02-07 12:06:42 Re: [BUGS] BUG #13932: German ß not a valid character in psql