OSDN Git Service

> >
authorBruce Momjian <bruce@momjian.us>
Mon, 29 Sep 2003 18:21:33 +0000 (18:21 +0000)
committerBruce Momjian <bruce@momjian.us>
Mon, 29 Sep 2003 18:21:33 +0000 (18:21 +0000)
commitf3db6065921a569b4dd5b2b7b657df24bdd781dc
treefcc7c1a02b11567cce79e735627aead9412c47a9
parenta17b53753e4bd1b5b83e838832505f992d3a4253
> >
> >  a) Write documentation how the win32 console needs to be set up so that
> >     psql can handle 8-bit characters.
> >     Where should it be added? The Section "Installation on Windows" in the
> >     Administrator's Guide seems natural to me.
> >
> >  b) Add code to psql that prints a warning on startup of psql when the
> >     console codepage differs from the windows codepage, something like
> >
> >     Warning: Console codepage (850) differs from windows codepage (1252)
> >              8-bit characters will not work correctly. See PostgreSQL
> >              documentation "Installation on Windows" for details.
>
Attached are two patches:

 - installdoc.patch contains an additional paragraph on the win32 console
   codepage for the chapter "Installation on Windows"
   Due to a lack of SGML-tools, I have only edited the text and not tested
   the SGML code - please check it before merging into the CVS branch.

 - psqlcodepage.patch adds the warning about a problematic codepage to psql.

Christoph Dalitz
doc/src/sgml/install-win32.sgml
src/bin/psql/startup.c