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


---------------------------(end of broadcast)--------------------------- TIP 4: Don't 'kill -9' the postmaster

Reply via email to