Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jzLkp-0006A2-8H for pgsql-docs@arkaria.postgresql.org; Sat, 25 Jul 2020 15:06:27 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jzLkl-00064u-CW for pgsql-docs@arkaria.postgresql.org; Sat, 25 Jul 2020 15:06:23 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jzLkl-00064m-6s for pgsql-docs@lists.postgresql.org; Sat, 25 Jul 2020 15:06:23 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jzLki-0007Z2-2q for pgsql-docs@lists.postgresql.org; Sat, 25 Jul 2020 15:06:22 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 06PF6HVh673791; Sat, 25 Jul 2020 11:06:17 -0400 From: Tom Lane To: jan.heckman@gmail.com cc: pgsql-docs@lists.postgresql.org Subject: Re: UTF8 conversion In-reply-to: <159567011970.625.15282665367468168691@wrigleys.postgresql.org> References: <159567011970.625.15282665367468168691@wrigleys.postgresql.org> Comments: In-reply-to PG Doc comments form message dated "Sat, 25 Jul 2020 09:41:59 -0000" MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-ID: <673789.1595689577.1@sss.pgh.pa.us> Content-Transfer-Encoding: 8bit Date: Sat, 25 Jul 2020 11:06:17 -0400 Message-ID: <673790.1595689577@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk PG Doc comments form writes: > I cannot get psql to accept an UTF8 string, link update .. set ... = > 'josé'; What this sounds like is some confusion in your locale and/or encoding settings. While perhaps we could improve the documentation about that area, it's impossible to guess what would help you, since it's not clear exactly what's wrong. > I can go in a song and dance about my settings. Believe me, I a proper > client_encoding and database encoding, and done umpteen attempts, but using > UTF8 in psql queries (without UGLY \u notation) appears completely > impossible. Without those details it's really impossible to say much. But I'm suspicious that this isn't a Postgres issue at all really, but something not right about your terminal settings and/or locale environment variables. Anyway, a documentation comment box isn't the right place for this kind of support, and I seriously doubt that there's any bug here either. Please send more detail to the pgsql-general mailing list, and we'll see if we can work this out. regards, tom lane