<!--
-$PostgreSQL: pgsql/doc/src/sgml/install-win32.sgml,v 1.22 2004/12/26 23:06:56 tgl Exp $
+$PostgreSQL: pgsql/doc/src/sgml/install-win32.sgml,v 1.23 2004/12/27 20:13:47 tgl Exp $
-->
<chapter id="install-win32">
</para>
<para>
- To build everything using using <productname>Borland
+ To build everything using <productname>Borland
C++</productname>, change into the <filename>src</filename> directory
and type the command
<screen>
<term><filename>interfaces\libpq\Release\libpq.lib</filename></term>
<listitem>
<para>
- Static library version of the frontend library
+ Static version of the frontend library
</para>
</listitem>
</varlistentry>
C++, just right-click on the project and choose to add it.)
</para>
- <para>
- <application>psql</application> is compiled as a <quote>console
- application</>. As the Windows console windows use a different
- encoding than the rest of the system, you must take special care
- when using 8-bit characters within <application>psql</application>.
- If <application>psql</application> detects a problematic
- console code page, it will warn you at startup. To change the
- console code page, two things are necessary:
-
- <itemizedlist>
- <listitem>
- <para>
- Set the code page by entering <userinput>cmd.exe /c chcp
- 1252</userinput>. (1252 is a code page that is appropriate for
- German; replace it with your value.) If you are using Cygwin,
- you can put this command in <filename>/etc/profile</filename>.
- </para>
- </listitem>
-
- <listitem>
- <para>
- Set the console font to <quote>Lucida Console</>, because the
- raster font does not work with the ANSI code page.
- </para>
- </listitem>
- </itemizedlist>
- </para>
-
</chapter>
<!-- Keep this comment at the end of the file
<!--
-$PostgreSQL: pgsql/doc/src/sgml/ref/psql-ref.sgml,v 1.124 2004/12/13 18:05:10 petere Exp $
+$PostgreSQL: pgsql/doc/src/sgml/ref/psql-ref.sgml,v 1.125 2004/12/27 20:13:48 tgl Exp $
PostgreSQL documentation
-->
</refsect1>
+ <refsect1>
+ <title>Notes for Windows users</title>
+
+ <para>
+ <application>psql</application> is built as a <quote>console
+ application</>. Since the Windows console windows use a different
+ encoding than the rest of the system, you must take special care
+ when using 8-bit characters within <application>psql</application>.
+ If <application>psql</application> detects a problematic
+ console code page, it will warn you at startup. To change the
+ console code page, two things are necessary:
+
+ <itemizedlist>
+ <listitem>
+ <para>
+ Set the code page by entering <userinput>cmd.exe /c chcp
+ 1252</userinput>. (1252 is a code page that is appropriate for
+ German; replace it with your value.) If you are using Cygwin,
+ you can put this command in <filename>/etc/profile</filename>.
+ </para>
+ </listitem>
+
+ <listitem>
+ <para>
+ Set the console font to <quote>Lucida Console</>, because the
+ raster font does not work with the ANSI code page.
+ </para>
+ </listitem>
+ </itemizedlist>
+ </para>
+
+ </refsect1>
+
+
<refsect1 id="APP-PSQL-examples">
<title id="APP-PSQL-examples-title">Examples</title>