Richard W.M. Jones wrote:
The -municode gcc flag changes the entry point for Windows
applications from main() to wmain(), which is like main() but takes
wide char versions of argv and envp.
Yuck!!! :-(
The more I read about Microsoft's implementation of i18n, the
more totally
fscked up it seems to be.
All this is because they consider UTF-8 to be "not invented here" and are
trying to change everything to use UTF-16 at the expense of backwards
compatibility and standards rather than just changing their default system
codepage to UTF-8 as everyone else (GNU/Linux, OS X etc.) did (and yes,
they do have support for variable-length system codepages already, the
Asian versions use that, they just don't want to use it for UTF-8).
Kevin Kofler