psql: not enogh memory when trying to use utf8 on windows
От | Harald Armin Massa |
---|---|
Тема | psql: not enogh memory when trying to use utf8 on windows |
Дата | |
Msg-id | 7be3f35d0902190748q7a907632t2a4d2ece32bbe970@mail.gmail.com обсуждение исходный текст |
Список | 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!
В списке pgsql-general по дате отправления: