From: | Harald Armin Massa <haraldarminmassa(at)gmail(dot)com> |
---|---|
To: | General Postgres Mailing List <pgsql-general(at)postgresql(dot)org> |
Subject: | psql: not enogh memory when trying to use utf8 on windows |
Date: | 2009-02-19 15:48:33 |
Message-ID: | 7be3f35d0902190748q7a907632t2a4d2ece32bbe970@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
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!
From | Date | Subject | |
---|---|---|---|
Next Message | Oliver Kohll - Mailing Lists | 2009-02-19 15:55:24 | Open sourcing |
Previous Message | Harald Armin Massa | 2009-02-19 15:42:57 | Re: \l of psql 8.4 looks ... unreadable on 80char default |