FilePicker icon indicating copy to clipboard operation
FilePicker copied to clipboard

fix: use DirectoryStream to prevent failure on invalid utf-8 filenames

Open transaero21 opened this issue 1 year ago • 0 comments

You can create invalid file using touch "$(echo -e '\xEB\xEE\xE2\xE0\xF0\xE8')" Unfortunately in Lollipop ang higher ART is used, and it can't handle some symbols - https://stackoverflow.com/a/34282026 There is not many options to read directory files, and another option only available on Oreo and higher - use DirectoryStream, which will not throw exception

transaero21 avatar Dec 09 '24 11:12 transaero21