AW: Wrong german error message encoding
| От | |
|---|---|
| Тема | AW: Wrong german error message encoding |
| Дата | |
| Msg-id | 00b001db3c10$dfa3f850$9eebe8f0$@gmx.net обсуждение |
| Ответ на | Re: Wrong german error message encoding (Daniel Gustafsson <daniel@yesql.se>) |
| Ответы |
Re: AW: Wrong german error message encoding
|
| Список | pgsql-bugs |
When using psql from the command line I can't even connect to the database "träshableß":
psql -d träshableß -U postgres
Passwort für Benutzer postgres:
psql: Fehler: Verbindung zum Server auf »localhost« (::1), Port 5432 fehlgeschlagen: FATAL: Datenbank »träshableß«
existiertnicht
But in this case I see no garbled error message....
I have to encode the database name with MS-CP-1252 to connect:
psql -d träshableß -U postgres
Passwort für Benutzer postgres:
psql (16.4)
Warnung: Konsolencodeseite (850) unterscheidet sich von der Windows-
Codeseite (1252). 8-Bit-Zeichen funktionieren möglicherweise nicht
richtig. Einzelheiten finden Sie auf der psql-Handbuchseite unter
»Notes for Windows users«.
Geben Sie »help« für Hilfe ein.
träshableÃY=#
In the scenario given in my bug report I connected to PostgreSQL via socket interface or libpq.
PgAdmin correctly shows the database name as "träshableß".
Markus Rips
-----Ursprüngliche Nachricht-----
Von: Daniel Gustafsson <daniel@yesql.se>
Gesendet: Mittwoch, 20. November 2024 10:00
An: radagast42@gmx.net
Cc: pgsql-bugs@lists.postgresql.org
Betreff: Re: Wrong german error message encoding
> On 20 Nov 2024, at 08:49, <radagast42@gmx.net> <radagast42@gmx.net> wrote:
>
> Hello.
> I think there is a wrong encoding for (at least) German localized error messages.
> Setup:
> - Standard installation of PostgreSQL 16.4 on a German Windows 10.
> - Create a new database with at least one German “Umlaut” in it with pgAdmin, e.g. “träshableß”
Do you get the same error message issue when connecting with psql instead og PGAdmin?
--
Daniel Gustafsson
В списке pgsql-bugs по дате отправления: