Re: bug when using special caracter in password for folder. - Mailing list pgsql-bugs

From Francois Jourdain
Subject Re: bug when using special caracter in password for folder.
Date
Msg-id LV2P220MB087240742E9CF1D840A5BABFEC9C2@LV2P220MB0872.NAMP220.PROD.OUTLOOK.COM
Whole thread Raw
In response to Re: bug when using special caracter in password for folder.  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
You should make a warning stating invalid caracter.
Thank you
It s solved on my side.


On Sep 4, 2024 at 12:55 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:

François Jourdain <francois.jourdain@hotmail.com> writes:
> I used a é in the password. Also, you can see the interface doesn't
> support well french caracters. you should read S'il vous plaît in the
> prompt.
> the error i had, caused by é in the password, was :
> postgresql l'installation peut avoir échoué l'initialisation du cluster
> de bases de données a échoué

What this sounds like is an encoding problem. Non-ASCII characters
such as é have different bit-level representations depending on
whether you are using UTF-8, ISO 8859-1, WIN1252, etc. Unfortunately
there's usually not a lot Postgres can do about this kind of thing,
since it's impossible to guess reliably what encoding a chunk of text
is meant to be in. You have to be careful to configure your operating
system environment so that the same encoding assumptions prevail
throughout.

In any case, we definitely can do nothing about it with zero context
information. You didn't even mention what OS you're using.

regards, tom lane

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: bug when using special caracter in password for folder.
Next
From: Thomas Munro
Date:
Subject: Re: BUG #18599: server closed the connection unexpectedly