T
terminatorul
Hello
Sorry if asking a known question.
I have a program that reads lines of text from standard input and
writes the non-empty ones back to standard output.
In most cases it will be used with standard input and output streams
redirected to FS files.
If my input is wide-character (UNICODE) I would like to use wcin and
wcout and write wide-character text to standard output. If my input is
narrow-character I would like to use cin and cout to write narrow-
character text to standard output.
How can I tell if my standard input stream has UNICODE text ?
Thank you,
Timothy Madden,
Romania
Sorry if asking a known question.
I have a program that reads lines of text from standard input and
writes the non-empty ones back to standard output.
In most cases it will be used with standard input and output streams
redirected to FS files.
If my input is wide-character (UNICODE) I would like to use wcin and
wcout and write wide-character text to standard output. If my input is
narrow-character I would like to use cin and cout to write narrow-
character text to standard output.
How can I tell if my standard input stream has UNICODE text ?
Thank you,
Timothy Madden,
Romania