Closed madame-rachelle closed 1 month ago
FluidSynth's file handling code is a mess. From the looks of it it should be UTF-8 but with this code it is hard to tell if some of it does not,work.
Or maybe it's the double slash...?
The best way that I can think of to address this is to throw the patch set into a temporary folder and load it from there - even if it is via a symlink - but there is no guarantee that symlinks will be available in any temporary storage, nor that the temporary storage will be behind an ascii-conforming path name. This may have to be addressed directly in fluidsynth itself.
I just checked and with the latest version of both GZDoom and ZMusic it does load the soundfont from a directory with such a name - conversion of UTF-8 to wide chars is properly performed before opening the file successfully.
I cannot say why it didn't work for the reporter.
To reproduce, simply do a "mklink /j (your-gzdoom-folder) 試験" from the command line, then cd into 試験 and run GZDoom from there.