Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit3947599

Browse files
committed
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.
1 parent370f909 commit3947599

File tree

2 files changed

+38
-32
lines changed

2 files changed

+38
-32
lines changed

‎doc/src/sgml/install-win32.sgml

Lines changed: 3 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$PostgreSQL: pgsql/doc/src/sgml/install-win32.sgml,v 1.22 2004/12/26 23:06:56 tgl Exp $
2+
$PostgreSQL: pgsql/doc/src/sgml/install-win32.sgml,v 1.23 2004/12/27 20:13:47 tgl Exp $
33
-->
44

55
<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
4343
</para>
4444

4545
<para>
46-
To build everything usingusing<productname>Borland
46+
To build everything using <productname>Borland
4747
C++</productname>, change into the <filename>src</filename> directory
4848
and type the command
4949
<screen>
@@ -77,7 +77,7 @@ $PostgreSQL: pgsql/doc/src/sgml/install-win32.sgml,v 1.22 2004/12/26 23:06:56 tg
7777
<term><filename>interfaces\libpq\Release\libpq.lib</filename></term>
7878
<listitem>
7979
<para>
80-
Staticlibraryversion of the frontend library
80+
Static version of the frontend library
8181
</para>
8282
</listitem>
8383
</varlistentry>
@@ -118,34 +118,6 @@ $PostgreSQL: pgsql/doc/src/sgml/install-win32.sgml,v 1.22 2004/12/26 23:06:56 tg
118118
C++, just right-click on the project and choose to add it.)
119119
</para>
120120

121-
<para>
122-
<application>psql</application> is compiled as a <quote>console
123-
application</>. As the Windows console windows use a different
124-
encoding than the rest of the system, you must take special care
125-
when using 8-bit characters within <application>psql</application>.
126-
If <application>psql</application> detects a problematic
127-
console code page, it will warn you at startup. To change the
128-
console code page, two things are necessary:
129-
130-
<itemizedlist>
131-
<listitem>
132-
<para>
133-
Set the code page by entering <userinput>cmd.exe /c chcp
134-
1252</userinput>. (1252 is a code page that is appropriate for
135-
German; replace it with your value.) If you are using Cygwin,
136-
you can put this command in <filename>/etc/profile</filename>.
137-
</para>
138-
</listitem>
139-
140-
<listitem>
141-
<para>
142-
Set the console font to <quote>Lucida Console</>, because the
143-
raster font does not work with the ANSI code page.
144-
</para>
145-
</listitem>
146-
</itemizedlist>
147-
</para>
148-
149121
</chapter>
150122

151123
<!-- Keep this comment at the end of the file

‎doc/src/sgml/ref/psql-ref.sgml

Lines changed: 35 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$PostgreSQL: pgsql/doc/src/sgml/ref/psql-ref.sgml,v 1.124 2004/12/13 18:05:10 petere Exp $
2+
$PostgreSQL: pgsql/doc/src/sgml/ref/psql-ref.sgml,v 1.125 2004/12/27 20:13:48 tgl Exp $
33
PostgreSQL documentation
44
-->
55

@@ -2577,6 +2577,40 @@ Field separator is "oo".
25772577
</refsect1>
25782578

25792579

2580+
<refsect1>
2581+
<title>Notes for Windows users</title>
2582+
2583+
<para>
2584+
<application>psql</application> is built as a <quote>console
2585+
application</>. Since the Windows console windows use a different
2586+
encoding than the rest of the system, you must take special care
2587+
when using 8-bit characters within <application>psql</application>.
2588+
If <application>psql</application> detects a problematic
2589+
console code page, it will warn you at startup. To change the
2590+
console code page, two things are necessary:
2591+
2592+
<itemizedlist>
2593+
<listitem>
2594+
<para>
2595+
Set the code page by entering <userinput>cmd.exe /c chcp
2596+
1252</userinput>. (1252 is a code page that is appropriate for
2597+
German; replace it with your value.) If you are using Cygwin,
2598+
you can put this command in <filename>/etc/profile</filename>.
2599+
</para>
2600+
</listitem>
2601+
2602+
<listitem>
2603+
<para>
2604+
Set the console font to <quote>Lucida Console</>, because the
2605+
raster font does not work with the ANSI code page.
2606+
</para>
2607+
</listitem>
2608+
</itemizedlist>
2609+
</para>
2610+
2611+
</refsect1>
2612+
2613+
25802614
<refsect1 id="APP-PSQL-examples">
25812615
<title id="APP-PSQL-examples-title">Examples</title>
25822616

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp