C:\ham>chcp 65001
Aktive Codepage: 65001.
C:\ham>psql -U postgres
Passwort f�r Benutzer postgres:
psql (8.4devel)
WARNING: Console code page (65001) 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.
postgres=# \l
Nicht genügend Arbeitsspeicher.
postgres=#
"chcp 65001" is the setting for UTF8 on Windows 2000 and up. Thought
it would be worth a try, as my default encoding on client and server
when attacking PostgreSQL via Python is UTF8.
Rather strange:
"Passwort f�r Benutzer postgres:" - the u-umlaut gets scrambled
"Nicht genügend Arbeitsspeicher." - the u-umlaut does not get scrambled
and "Nicht genügend Arbeitsspeicher." is roughly "not enough RAM",
which is really not expected just for changing the code page
Harald
--
GHUM Harald Massa
persuadere et programmare
Harald Armin Massa
Spielberger Straße 49
70435 Stuttgart
0173/9409607
no fx, no carrier pigeon
-
EuroPython 2009 will take place in Birmingham - Stay tuned!