I'm having some issues while this works normal on some languages, for example:
C:\Users\Juan\AppData\Roaming\FilesProgram
On some languages with special characters, the program can't find the location. For example, if a Username folder is like: "João", the program crashes as soon as it gets this call. This happen also to Chinese, Korean, Arabic, Portuguese, etc.
The code used is as follows:
std::filesystem::path base_dir = std::getenv(XorStr("appdata"));
base_dir /= XorStr("FilesProgram");
Any idea what can cause this?