@bagder @bsdphk Command line parsing on Windows is a pain; I haven't used Windows compilers in over a decade, so I don't know if you can get a
int main(int argc, wchar_t* argv[])
entry point these days. Using that should parse the command line as Unicode text and then one can convert each argument to UTF-8 or whatever and call the real "main" with that.