-
psql is compiled as a "console application". As
- the win32 console windows use a different encoding than the rest of the
- system, you must take special care when using 8-bit characaters (eg. german
- Umlauts) at the
psql prompt. When
+
psql is compiled as a
console
+ application>. As
+ the Win32 console windows use a different encoding than the rest of the
+ system, you must take special care when using 8-bit characters (eg. German
+ umlauts) at the
psql prompt. When
psql detects a problematic console codepage, it
will warn you at startup. To change the console codepage, two things are
neccessary:
-
-
+
Set the codepage with cmd.exe /c chcp 1252
- (1252 is the german value, replace it with your value). If you are using
- cygwin, you can put this command in /etc/profile.
+ (1252 is the German value, replace it with your value). If you are using
+ cygwin, you can put this command in /etc/profile.
+
-
-
+
- Set the console font to "Lucida Console", because the raster font
- does not work with the ANSI codepage.
+ Set the console font to Lucida Console>, because the raster font
+ does not work with the ANSI codepage.
+
-
-
-
+