-
Notifications
You must be signed in to change notification settings - Fork 161
Description
Hello there :-)
I thought I may give you a heads-up about a possible problem with Umlaute/accentuated character in paths on the windows implementation.
Library Version: I'm currently using react-native-fs for Windows and rn-fetch-blob (old repo) for Android + iOS but plan on migrating in then near future.
RNFS with the windows implementation has a problem with paths that contain Umlaute/accentuated characters (ä, ö, ü, é, à etc).
As far as I've seen while glimpsing over the windows implementations the std::string --> std::filesystem::path conversion will probably result in similiar problems:
Scenario / Repro Steps
- Create a windows user account that contains Umlaute/accentuated characters (ä, ö, ü, é, à etc), example: t.müstermann
- Try to create a folder / read a file / write a file inside the application directory
I'm currently looking into it in RNFS and have made an example of changes here: itinance/react-native-fs#952
Edit: See wwimmo/react-native-fs#9 as an example PR on RN-FS