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