I have a cloud-backed file system that is made with Fuse for MacOS. Apparently this file system treats files that use different unicode normalization forms as different files. So you can have a file in NFC and another one with the same name in NFD.
So my question is, is it possible to read these two file names as two different strings from Java? Cause File.getName()
, File.getPath()
, Path.getFileName()
, etc seem to return the NFC normalized strings for both files, thus considering them both as equal.