Use vtksys Encoding for main() args on Windows
Paraview command line parameters must be read as UTF-16 and coverted to UTF-8 on Windows. See https://discourse.paraview.org/t/cant-open-file-if-non-ascii-characters-present-in-path-name/9759/10
It would be really nice if KWSYS returned char* const*
args rather than const char* const*
, so that the const did not need to be cast away for argv.
Do: reformat