Okay, all the Unicode stuff has been fixed with file saving/loading/renaming. Also, the RC move command has been fixed and won’t delete files anymore.
This is all because Microsoft doesn’t convert UTF-8 to UTF-16 using the mbstowcs() command, even if you call setlocale() specifying a UTF-8 codepage. I had to make use of the MultiByteToWideChar() Windows API command to correctly convert. In another hilarious turn of events, when trying to rename “Jätte Kult.txt” to “Jätte Kult 2.txt”, Graal was sending the first one as ASCII, and the second one as UTF-8! I currently do a double MultiByteToWideChar() pass to determine if it is a valid UTF-8 string before attempting to convert, else I just do a direct character copy.
Technically, it can still fail in some edge cases, but those failures will now be the result of the RC itself, not the gserver.
Because my Visual C++ compiler wants validation when my comp is not legit.
And because my Code::Blocks hates BOOST no matter how many times I link the libraries.
As such, I can’t compile the GServer anymore, therefore, I cannot edit it.
Ergo, Sentinel is broke. And just to make sure, “vis-à-vis”.
I’ll get around to it the next time I reformat my PC.
I still remember the good ol’ days, where I would have to reformat my PC about 3 times a week. Christ it was such an unstable fuck.