It seems that the argv[] of the console works with non-Unicode character sets;this means that it uses the OEM or ANSI set that the console is currently set.
Check this superb article on Unicode and the console: Unicode CMD Code Page Checkup For your case look at point 6
In reply to Re: Character encoding in console in Windows
by nikosv
in thread Character encoding in console in Windows
by elef
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |