Move info about psql console code page issues out of install-win32.sgml,
authorTom Lane
Mon, 27 Dec 2004 20:13:48 +0000 (20:13 +0000)
committerTom Lane
Mon, 27 Dec 2004 20:13:48 +0000 (20:13 +0000)
where it doesn't belong, and put it in the psql reference page.

doc/src/sgml/install-win32.sgml
doc/src/sgml/ref/psql-ref.sgml

index 55f3064eb32e01973d05ffda5f412041a4844cbe..cb79912a38e3d35d7a82674edaeb0e2ebf495e7d 100644 (file)
@@ -1,5 +1,5 @@
 
 
 
@@ -43,7 +43,7 @@ $PostgreSQL: pgsql/doc/src/sgml/install-win32.sgml,v 1.22 2004/12/26 23:06:56 tg
  
 
  
-  To build everything using using Borland
+  To build everything using Borland
   C++, change into the src directory
   and type the command
 
@@ -77,7 +77,7 @@ $PostgreSQL: pgsql/doc/src/sgml/install-win32.sgml,v 1.22 2004/12/26 23:06:56 tg
     interfaces\libpq\Release\libpq.lib
     
      
-      Static library version of the frontend library
+      Static version of the frontend library
      
     
    
@@ -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.)
  
 
-  psql is compiled as a 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 psql.
-  If psql detects a problematic
-  console code page, it will warn you at startup. To change the
-  console code page, two things are necessary:
-
-   
-    
-     
-      Set the code page by entering cmd.exe /c chcp
-      1252. (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 /etc/profile.
-     
-    
-
-    
-     
-      Set the console font to Lucida Console, because the
-      raster font does not work with the ANSI code page.
-     
-    
-   
-
 
 
 
 
@@ -2577,6 +2577,40 @@ Field separator is "oo".
  
 
 
+  Notes for Windows users
+
+  psql is built as a 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 psql.
+  If psql detects a problematic
+  console code page, it will warn you at startup. To change the
+  console code page, two things are necessary:
+
+   
+    
+     
+      Set the code page by entering cmd.exe /c chcp
+      1252. (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 /etc/profile.
+     
+    
+
+    
+     
+      Set the console font to Lucida Console, because the
+      raster font does not work with the ANSI code page.
+     
+    
+   
+
+
+
  
   Examples