mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-10-29 12:15:39 +00:00
autorun_exit_tests built its own path from argv[0] and windows_dependency_diagnostics_tests from GetModuleFileNameA. Both are in the ANSI code page on Windows, but MinGW's std::filesystem::path reads a narrow string as UTF-8, so in a build directory with characters such as "ü" both tests stopped with "Cannot convert character sequence: Illegal byte sequence" before testing anything (windows_diagnostic_fixture_isolation runs the second one). Take the path from GetModuleFileNameW on Windows. The relinker and the generated diagnostic runner already use UTF-8 and wide APIs, so nothing else changes. Co-Authored-By: Claude Opus 5.5 <[email protected]>