dbTalk Databases Forums  

[BUGS] rc4 and rc3, some deleted, but still needed text in the documentation,

mailing.database.pgsql-bugs mailing.database.pgsql-bugs


Discuss [BUGS] rc4 and rc3, some deleted, but still needed text in the documentation, in the mailing.database.pgsql-bugs forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Christoph Becker
 
Posts: n/a

Default [BUGS] rc4 and rc3, some deleted, but still needed text in the documentation, - 01-12-2005 , 04:15 AM






If PostgreSQL is intalled with native language support with the windows
installer and
if German is used as locale, local characters like Umlaute are displayed
wrong in the windows command window. In PG-Admin's Helpfile, which is
from beta5, but no longer in the documentation of version rc3 and rc4,
the following advice can be found:

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 at the psql prompt. When
psql detects a problematic console code page, it will warn you at
startup. To change the console code page, two things are neccessary:

*

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.

This effectivly cures the problem. Thus, the above text should be placed
back into the documentation.
The file to be changed back is:
PostgreSQL/8.0.0-rc4/doc/html/install-win32.html

Perhaps on Windows, PostgreSQL should itself send "cmd.exe /c chcp 1252"
to the console if needed.
Perhaps it is trying to do this but it does not work in my case. This
would explain why the documentation was changed.

Regards
Christoph Becker





---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to majordomo (AT) postgresql (DOT) org

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.