Search Postgresql Archives

psql: not enogh memory when trying to use utf8 on windows

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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!

-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux