psql Client encoding doesn't allow Umlaute / other UTF8 special characters
@ProchaLu ci sta già lavorando.
Dal 15/6/2024.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
Reporting on behalf of @Petzlc, text from @Petzlc:
What happened that was unexpected
Hyper somehow cannot process äöü so it always throws this Error message:
FEHLER: Zeichen mit Byte-Folge 0x81 in Kodierung »WIN1252« hat keine Entsprechung in Kodierung »UTF8«
What were your expectations
That i can create my table with the values that contain äöü in the spelling.
Your guess of what the problem is
So on my journey of researching i ran into this message that also appears when i start psql and which seems to be a problem for other people too and seems to be the root of this problem:
WARNING: Console code page (850) differs from Windows code page (1252)
8-bit characters might not work correctly. See psql reference
page "Notes for Windows users" for details.
Type "help" for help.
(mine is in german though)
with the following advice:
You should know what encoding is used in your database.
SHOW server_encoding;
When you connect to your database you can specify what encoding should your client use:
SET client_encoding TO 'UTF8';
If server and client encoding differ, the database driver tries to translate between those two encoding. When it can not find an equivalent character, the error is thrown.
A list of things you have tried to solve it
So this seems to me like a pretty forward advice of what to do when someone runs into this error. I didn't try to apply it though and just changed the äöü to ae and oe and ue. Also i'm wondering if this affects é è and so on. I just changed everything to uncomplicated and common letters.
- Lingua principale
- Nessun dato sulla lingua
- Stelle
- 30
- Fork
- 18
- Merge medio
- 22m
- PR unite (30g)
- 1
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di upleveled/system-setup
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
upleveled/system-setup#121 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
upleveled/system-setup#46 ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
upleveled/system-setup#123 ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 65/100
upleveled/system-setup#122 ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
upleveled/system-setup#118 ·