From: | Manfred Spraul <manfred(at)colorfullife(dot)com> |
---|---|
To: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
Cc: | Peter Eisentraut <peter_e(at)gmx(dot)net>, PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>, PostgreSQL Win32 port list <pgsql-hackers-win32(at)postgresql(dot)org>, christoph(dot)dalitz(at)hs-niederrhein(dot)de, pgsql-cygwin(at)postgresql(dot)org |
Subject: | Re: [PATCHES] WIN32_CONSOLE usage |
Date: | 2003-09-07 18:37:08 |
Message-ID: | 3F5B7AD4.5020201@colorfullife.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-cygwin pgsql-hackers-win32 pgsql-patches |
Bruce Momjian wrote:
>>I think we ought to detect the console type automatically anyway.
>>Certainly we don't want people to have to set this variables all the time.
>>
>>
>
>Agreed. Automatic is ideal. Any ideas out there?
>
>
>
Does input from the console work correctly right now?
What about setting the code page of the console to the ansi code page?
Or to the code page that postgresql uses internally.
SetConsoleCP(GetACP());
SetConsoleOutputCP(GetACP());
might be sufficient.
--
Manfred
From | Date | Subject | |
---|---|---|---|
Next Message | Christoph Dalitz | 2003-09-07 18:51:49 | Re: WIN32_CONSOLE usage |
Previous Message | Bruce Momjian | 2003-09-07 16:37:42 | Re: [PATCHES] MinGW patch |
From | Date | Subject | |
---|---|---|---|
Next Message | Christoph Dalitz | 2003-09-07 18:51:49 | Re: WIN32_CONSOLE usage |
Previous Message | Bruce Momjian | 2003-09-07 16:37:42 | Re: [PATCHES] MinGW patch |
From | Date | Subject | |
---|---|---|---|
Next Message | Christoph Dalitz | 2003-09-07 18:51:49 | Re: WIN32_CONSOLE usage |
Previous Message | ohp | 2003-09-07 18:22:30 | Unixware 713 probs |