pg.ddx.io pgsql-bugs@postgresql.org mailing list archive
help / color / mirror / Atom feedbug when using special caracter in password for folder.
3+ messages / 3 participants
[nested] [flat]
* bug when using special caracter in password for folder.
@ 2024-09-04 14:13 François Jourdain <francois.jourdain@hotmail.com>
2024-09-04 16:55 ` Re: bug when using special caracter in password for folder. Tom Lane <tgl@sss.pgh.pa.us>
2024-09-04 16:57 ` Re: bug when using special caracter in password for folder. Francois Jourdain <francois.jourdain@hotmail.com>
0 siblings, 2 replies; 3+ messages in thread
From: François Jourdain @ 2024-09-04 14:13 UTC (permalink / raw)
To: pgsql-bugs@lists.postgresql.org
Hello,
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é
thank you
Attachments:
RY0gGnDY6nc8ctGN.png (image/png, 65.5K) download
view image
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: bug when using special caracter in password for folder.
2024-09-04 14:13 bug when using special caracter in password for folder. François Jourdain <francois.jourdain@hotmail.com>
@ 2024-09-04 16:55 ` Tom Lane <tgl@sss.pgh.pa.us>
1 sibling, 0 replies; 3+ messages in thread
From: Tom Lane @ 2024-09-04 16:55 UTC (permalink / raw)
To: François Jourdain <francois.jourdain@hotmail.com>; +Cc: pgsql-bugs@lists.postgresql.org
=?UTF-8?Q?Fran=C3=A7ois_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
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: bug when using special caracter in password for folder.
2024-09-04 14:13 bug when using special caracter in password for folder. François Jourdain <francois.jourdain@hotmail.com>
@ 2024-09-04 16:57 ` Francois Jourdain <francois.jourdain@hotmail.com>
1 sibling, 0 replies; 3+ messages in thread
From: Francois Jourdain @ 2024-09-04 16:57 UTC (permalink / raw)
To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: pgsql-bugs <pgsql-bugs@lists.postgresql.org>
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:
>
>
> =?UTF-8?Q?Fran=C3=A7ois_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
>
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2024-09-04 16:57 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2024-09-04 14:13 bug when using special caracter in password for folder. François Jourdain <francois.jourdain@hotmail.com>
2024-09-04 16:55 ` Tom Lane <tgl@sss.pgh.pa.us>
2024-09-04 16:57 ` Francois Jourdain <francois.jourdain@hotmail.com>
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