summaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/install-win32.sgml29
1 files changed, 28 insertions, 1 deletions
diff --git a/doc/src/sgml/install-win32.sgml b/doc/src/sgml/install-win32.sgml
index 16dfdbdc8f6..21b3daad4e3 100644
--- a/doc/src/sgml/install-win32.sgml
+++ b/doc/src/sgml/install-win32.sgml
@@ -1,5 +1,5 @@
<!--
-$Header: /cvsroot/pgsql/doc/src/sgml/install-win32.sgml,v 1.12 2003/09/29 18:18:35 momjian Exp $
+$Header: /cvsroot/pgsql/doc/src/sgml/install-win32.sgml,v 1.13 2003/09/29 18:21:33 momjian Exp $
-->
<chapter id="install-win32">
@@ -107,6 +107,33 @@ $Header: /cvsroot/pgsql/doc/src/sgml/install-win32.sgml,v 1.12 2003/09/29 18:18:
C++, just right-click on the project and choose to add it.)
</para>
+ <para>
+ <application>psql</application> 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 <application>psql</application> prompt. When
+ <application>psql</application> detects a problematic console codepage, it
+ will warn you at startup. To change the console codepage, two things are
+ neccessary:
+
+ <variablelist>
+ <varlistentry>
+ <listitem>
+ Set the codepage with <userinput>cmd.exe /c chcp 1252</userinput>
+ (1252 is the german value, replace it with your value). If you are using
+ cygwin, you can put this command in <filename>/etc/profile</filename>.
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <listitem>
+ Set the console font to "Lucida Console", because the raster font
+ does not work with the ANSI codepage.
+ </listitem>
+ </varlistentry>
+ </variablelist>
+
+ </para>
+
</chapter>
<!-- Keep this comment at the end of the file