mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-09-28 07:31:51 +02:00
Move info about psql console code page issues out of install-win32.sgml,
where it doesn't belong, and put it in the psql reference page.
This commit is contained in:
parent
370f90970d
commit
39475990e0
@ -1,5 +1,5 @@
|
||||
<!--
|
||||
$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">
|
||||
@ -43,7 +43,7 @@ $PostgreSQL: pgsql/doc/src/sgml/install-win32.sgml,v 1.22 2004/12/26 23:06:56 tg
|
||||
</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>
|
||||
@ -77,7 +77,7 @@ $PostgreSQL: pgsql/doc/src/sgml/install-win32.sgml,v 1.22 2004/12/26 23:06:56 tg
|
||||
<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>
|
||||
@ -118,34 +118,6 @@ $PostgreSQL: pgsql/doc/src/sgml/install-win32.sgml,v 1.22 2004/12/26 23:06:56 tg
|
||||
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
|
||||
|
@ -1,5 +1,5 @@
|
||||
<!--
|
||||
$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
|
||||
-->
|
||||
|
||||
@ -2577,6 +2577,40 @@ Field separator is "oo".
|
||||
</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>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user