pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Noah Misch <noah@leadboat.com>
To: vinod.t.v@outlook.com
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #14794: Installation failure if user specify French password
Date: Thu, 5 Oct 2017 22:50:20 -0700
Message-ID: <20171006055020.GA427951@rfd.leadboat.com> (raw)
In-Reply-To: <20170901101537.31802.25739@wrigleys.postgresql.org>
References: <20170901101537.31802.25739@wrigleys.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

On Fri, Sep 01, 2017 at 10:15:37AM +0000, vinod.t.v@outlook.com wrote:
> I have specified 
> Télécharger as the password during postgres installation in french OS.
> installation failed.

> ex‚cution de l'initialisation aprŠs bootstrap...FATAL:  sǸquence d'octets
> invalide pour l'encodage ¶® UTF8 ¶¯ : 0xe0 0x74 0x27

This is a character encoding mismatch.  Within an established database
session, PostgreSQL has robust encoding conversion.  During initdb and
connection establishment, encoding treatment is much more primitive.  This has
been on https://wiki.postgresql.org/wiki/Todo for years, and fixing it is low
priority.  I recommend using only ASCII in user names, passwords, and database
names.

If you still want this, set an ASCII password during installation, and then
change it with ALTER USER.  This will work well only if all your client
software sends the password in the same encoding as the database where you
issue ALTER USER (probably UTF8).


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (2+ messages)

Message-ID: <20171006055020.GA427951@rfd.leadboat.com>
Permalink:  ../20171006055020.GA427951@rfd.leadboat.com/
Also on:    postgresql.org/message-id/20171006055020.GA427951@rfd.leadboat.com

 · 

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 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: noah@leadboat.com, vinod.t.v@outlook.com
  Subject: Re: BUG #14794: Installation failure if user specify French password
  In-Reply-To: <20171006055020.GA427951@rfd.leadboat.com>
  References: <20170901101537.31802.25739@wrigleys.postgresql.org> <20171006055020.GA427951@rfd.leadboat.com>

* 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