Re: [PATCHES] WIN32_CONSOLE usage

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Christoph Dalitz <christoph(dot)dalitz(at)hs-niederrhein(dot)de>
Cc: manfred(at)colorfullife(dot)com, <pgman(at)candle(dot)pha(dot)pa(dot)us>, <pgsql-patches(at)postgresql(dot)org>, <pgsql-hackers-win32(at)postgresql(dot)org>, <pgsql-cygwin(at)postgresql(dot)org>
Subject: Re: [PATCHES] WIN32_CONSOLE usage
Date: 2003-09-11 18:30:53
Message-ID: Pine.LNX.4.44.0309112030160.1089-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-cygwin pgsql-hackers-win32 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(at)gmx(dot)net

In response to

Responses

Browse pgsql-cygwin by date

  From Date Subject
Next Message Manfred Spraul 2003-09-11 18:51:24 Re: [PATCHES] WIN32_CONSOLE usage
Previous Message Bruce Momjian 2003-09-11 16:45:22 Re: [PATCHES] WIN32_CONSOLE usage

Browse pgsql-hackers-win32 by date

  From Date Subject
Next Message Manfred Spraul 2003-09-11 18:51:24 Re: [PATCHES] WIN32_CONSOLE usage
Previous Message Bruce Momjian 2003-09-11 16:45:22 Re: [PATCHES] WIN32_CONSOLE usage

Browse pgsql-patches by date

  From Date Subject
Next Message Manfred Spraul 2003-09-11 18:51:24 Re: [PATCHES] WIN32_CONSOLE usage
Previous Message Bruce Momjian 2003-09-11 18:29:36 Re: minor documentation improvements