Re: WIN32_CONSOLE usage - Mailing list pgsql-patches

From Peter Eisentraut
Subject Re: WIN32_CONSOLE usage
Date
Msg-id Pine.LNX.4.44.0309112030160.1089-100000@peter.localdomain
Whole thread Raw
In response to WIN32_CONSOLE usage  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: WIN32_CONSOLE usage
Re: WIN32_CONSOLE usage
List pgsql-patches
Christoph Dalitz writes:

>  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.

Sure.

>  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.

If you can detect that they are different, why can't you adjust the code
page in that case only?

--
Peter Eisentraut   peter_e@gmx.net


pgsql-patches by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: minor documentation improvements
Next
From: Manfred Spraul
Date:
Subject: Re: WIN32_CONSOLE usage