Fabian Maurer dark.shadow4@web.de wrote:
I'm talking about command line, not stdinput.
I know, but since you can't compare WCHAR with char, there has to be a conversion at some place. Either from the WCHAR commandline arguments to char, or from the char stdinput to WCHAR. Which would you chose, and why? Isn't information lost anyways?
Sometimes the loss is unavoidable, but if you have unicode and ansi input it's always better to perform further handling in unicode to avoid even more unwanted damage IMO.