From: Tom Lane <tgl@sss.pgh.pa.us>
To: Burkhardt Renz <Burkhardt.Renz@mni.thm.de>
Cc: pgsql-bugs@postgresql.org
Subject: Re: Re: [BUGS] Re: [BUGS] BUG #13932: German ß not a valid character in psql
Date: Sun, 07 Feb 2016 10:45:49 -0500
Message-ID: <12850.1454859949@sss.pgh.pa.us> (raw)
In-Reply-To: <FE12177B-31CB-48ED-AF4A-474F948374E4@mni.thm.de>
References: <20160207111437.2649.2177@wrigleys.postgresql.org>
<56B7319D.7080108@hogranch.com>
<0925DBC7-ECA9-46C3-B10D-F7A370291198@mni.thm.de>
<CA+bJJbxjMZOVgze+WQggJ7RJ1edQv=sbvdqjTaFrbWC28-TKpg@mail.gmail.com>
<FE12177B-31CB-48ED-AF4A-474F948374E4@mni.thm.de>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
Burkhardt Renz <Burkhardt.Renz@mni.thm.de> writes:
> Encoding on Mac is okay:
> od -tx1
> ß
Works for me using a Terminal window in Yosemite:
pro:~ tgl$ export LANG=de_DE.UTF-8
pro:~ tgl$ locale charmap
UTF-8
pro:~ tgl$ psql regression
psql (9.6devel)
Type "help" for help.
regression=# create database de encoding 'utf8' lc_collate 'de_DE.UTF-8' lc_ctype 'de_DE.UTF-8' template template0;
CREATE DATABASE
regression=# \c de
You are now connected to database "de" as user "tgl".
de=# show client_encoding ;
client_encoding
-----------------
UTF8
(1 row)
de=# show server_encoding ;
server_encoding
-----------------
UTF8
(1 row)
de=# select 'ß'; -- made this by typing option-s
?column?
----------
ß
(1 row)
de=# select 'ß'::bytea;
bytea
--------
\xc39f
(1 row)
I surmise that you have wrong values for one or another of the settings
mentioned above.
regards, tom lane
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
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: tgl@sss.pgh.pa.us, Burkhardt.Renz@mni.thm.de
Subject: Re: [BUGS] Re: [BUGS] BUG #13932: German ß not a valid character in psql
In-Reply-To: <12850.1454859949@sss.pgh.pa.us>
References: <20160207111437.2649.2177@wrigleys.postgresql.org> <56B7319D.7080108@hogranch.com> <0925DBC7-ECA9-46C3-B10D-F7A370291198@mni.thm.de> <CA+bJJbxjMZOVgze+WQggJ7RJ1edQv=sbvdqjTaFrbWC28-TKpg@mail.gmail.com> <FE12177B-31CB-48ED-AF4A-474F948374E4@mni.thm.de> <12850.1454859949@sss.pgh.pa.us>
* 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