Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pass
wchar_t*
to std::ifstream::open
to prevent implicit UTF16->ANSI
The previously passed `const std::wstring&` was implicitly converted to an `std::filesystem::path`. That library is still considered experimental in the used libc++ release, so it should be avoided outright. Even worse, this version performs an implicit UTF16->ANSI conversion, breaking all efforts of consistent Unicode usage.
- Loading branch information