pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: jan.heckman@gmail.com
Cc: pgsql-docs@lists.postgresql.org
Subject: Re: UTF8 conversion
Date: Sat, 25 Jul 2020 11:06:17 -0400
Message-ID: <673790.1595689577@sss.pgh.pa.us> (raw)
In-Reply-To: <159567011970.625.15282665367468168691@wrigleys.postgresql.org>
References: <159567011970.625.15282665367468168691@wrigleys.postgresql.org>

PG Doc comments form <noreply@postgresql.org> 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





view thread (2+ messages)

Message-ID: <673790.1595689577@sss.pgh.pa.us>
Permalink:  ../673790.1595689577@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/673790.1595689577@sss.pgh.pa.us

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-general@postgresql.org
  Cc: tgl@sss.pgh.pa.us, jan.heckman@gmail.com, pgsql-docs@lists.postgresql.org
  Subject: Re: UTF8 conversion
  In-Reply-To: <673790.1595689577@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