Thomas Jentzsch
Thomas Jentzsch
Thanks, I was already wondering why James hadn't noticed that.
In the project settings "Multi-Byte Character Set" (MBCS) is enabled, not Unicode (which doesn't compile). Could that be the problem?
No, lots of stuff in `FilesystemNodeWINDOWS` is breaking, especially `string.c_str()` isn't accepted anymore (LPCWSTR is expected). I will try to fix that... `SerialPortWINDOWS` has the same problems.
Grrr, got the code compiled with Unicode, but it still doesn't load the ROM. The 'ż' is converted to a simple 'z'.
No hurry, this can wait. I think Windows does it correct, but Stella partially converts special chars. Either we keep the special chars completely or we ignore them completely. Currently...
I wonder what Linux is doing. Since we are using strings, it cannot store the special chars. Which means it must match 'ż' with 'z' somehow.
Meanwhile I found a workaround. In `addFile()` we can use the 8.3 filename for `_path` and the long filename for `_displayName`. @sa666666 What do you think?
@sa666666 This fix would allow loading files with specials chars. **BUT** when saving a file, the `_path` name is used if no entry in our DB exists for the ROM....
Might become complicated. How about replacing them all e.g. with '_'? But I suppose both ideas do not help when it comes to file access.
Remember that it is not so much of a display problem, but a file access problem.