Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
Thread:
Lists: pgsql-cygwinpgsql-hackers-win32pgsql-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

pgsql-cygwin by date

Next:From: Manfred SpraulDate: 2003-09-11 18:51:24
Subject: Re: [PATCHES] WIN32_CONSOLE usage
Previous:From: Bruce MomjianDate: 2003-09-11 16:45:22
Subject: Re: [PATCHES] WIN32_CONSOLE usage

pgsql-patches by date

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

pgsql-hackers-win32 by date

Next:From: Manfred SpraulDate: 2003-09-11 18:51:24
Subject: Re: [PATCHES] WIN32_CONSOLE usage
Previous:From: Bruce MomjianDate: 2003-09-11 16:45:22
Subject: Re: [PATCHES] WIN32_CONSOLE usage

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group