| From: | <radagast42(at)gmx(dot)net> | 
|---|---|
| To: | "'Daniel Gustafsson'" <daniel(at)yesql(dot)se> | 
| Cc: | <pgsql-bugs(at)lists(dot)postgresql(dot)org> | 
| Subject: | AW: Wrong german error message encoding | 
| Date: | 2024-11-21 12:28:29 | 
| Message-ID: | 00b001db3c10$dfa3f850$9eebe8f0$@gmx.net | 
| Views: | Whole Thread | Raw Message | Download mbox | Resend email | 
| Thread: | |
| Lists: | 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ß« existiert nicht
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(at)yesql(dot)se> 
Gesendet: Mittwoch, 20. November 2024 10:00
An: radagast42(at)gmx(dot)net
Cc: pgsql-bugs(at)lists(dot)postgresql(dot)org
Betreff: Re: Wrong german error message encoding
> On 20 Nov 2024, at 08:49, <radagast42(at)gmx(dot)net> <radagast42(at)gmx(dot)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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Alvaro Herrera | 2024-11-21 12:30:52 | Re: Function pg_get_constraintdef | 
| Previous Message | Magnus Hagander | 2024-11-21 12:16:45 | Re: Function pg_get_constraintdef |