Easily reproducible when developing:
- Build the CODA solution
- Rename the windows/coda/architecture/Debug folder to something with non-ASCII characters, like "tööt"
- Start the executable from the command line or Explorer
- Before selecting a document to open, attach in Visual Studio
- Select a document to open
- Observe it crash in VS
Note that the non-ASCII characters don't even need to be ones that aren't in the so-called system codepage. But obviously when fixing this one needs to verify that it works for such, too. Even emojis.
Debugging this at the moment.