Set active code page on Windows to avoid encoding issues