Newsgroups : Borland : borland.public.delphi.nativeapi.win32 : 2007 Sep : How to know console output "encoding"

www.cryer.info
Managed Newsgroup Archive

How to know console output "encoding"

Subject:How to know console output "encoding"
Posted by:"Markus Spoettl (toolsfactory)" (noma..@toolsfactory.com)
Date:Wed, 12 Sep 2007 18:26:42

Hello,

   I'm starting a console process and reading the output through a pipe.
The question is, how can I know which "encoding" the output has got
(Ansi or Unicode widechars)?

Is there a way to determine whether the piped-through console is a
WideString version written into by ConWriteW() calls?

Thanks for any pointers to solve this mystery.

Markus
--
______________________________________________________________________
Markus Spoettl,
toolsfactory software
http://www.doc-o-matic.com

Replies:

www.cryer.info
Managed Newsgroup Archive