JUCE 8 : bug with no-English characters

Hello

A strange behaviour with JUCE 8 with a code that worked perfectly with JUCE 7.

When I try to open files with non-English characters, the juce::string is polluted with extra characters.
For instance, I have a folder called /Users/toto/Documents/Data/Samoëns and when I try to open a file in this folder using a juce::FileChooser, the string I get is:
/Users/toto/Documents/Data/Samoënsn/myfile.txt

I get an extra “n” at the end of Samoëns (a very nice town in the French Alps …).

I have the same bug on Windows and on MacOS.

Thanks for reporting. This issue is resolved by this commit:

You can try it out by updating to the develop branch. Please let us know if you encounter any further issues.

1 Like

Thanks a lot

Now it works perfectly