Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1aSRXQ-0008WA-Kl for pgsql-bugs@arkaria.postgresql.org; Sun, 07 Feb 2016 15:46:12 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1aSRXQ-0004sr-1X for pgsql-bugs@arkaria.postgresql.org; Sun, 07 Feb 2016 15:46:12 +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 1aSRXP-0004sg-HY for pgsql-bugs@postgresql.org; Sun, 07 Feb 2016 15:46:11 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1aSRXN-00017W-05 for pgsql-bugs@postgresql.org; Sun, 07 Feb 2016 15:46:11 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id u17Fjn8f012851; Sun, 7 Feb 2016 10:45:50 -0500 From: Tom Lane To: Burkhardt Renz cc: pgsql-bugs@postgresql.org Subject: Re: =?utf-8?Q?Re=3A_=5BBUGS=5D_Re=3A_=5BBUGS=5D_BUG_=2313932=3A_Germ?= =?utf-8?Q?an_=C3=9F_not_a_valid_character_in_psql?= In-reply-to: References: <20160207111437.2649.2177@wrigleys.postgresql.org> <56B7319D.7080108@hogranch.com> <0925DBC7-ECA9-46C3-B10D-F7A370291198@mni.thm.de> Comments: In-reply-to Burkhardt Renz message dated "Sun, 07 Feb 2016 15:08:29 +0100" Date: Sun, 07 Feb 2016 10:45:49 -0500 Message-ID: <12850.1454859949@sss.pgh.pa.us> 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 Burkhardt Renz 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