in reply to File::Find::Rule returns different filenames if they have chars with accents: OSX vs Linux
It's not necessarily File::Find::Rule that arbitrarily changes the representation of the file name.
I recall that a few years ago I had to test the compatibility of our application at $work with various operating systems, and there were differences related to unicode normalization: browsers on OSX tended to return accented characters typed into a password field in their decomposed form (basic letter + combining accent), while those on Windows and Linux returned the composed form (accented letter). Perhaps this reflects a widespread custom on these operating systems, or a feature in an underlying library.
You could try ls | xxd to check the actual representation of your file names in the file system. On my linux box most files (that have accented characters in their names) are in the composed form, but I've found a few that aren't.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: File::Find::Rule returns different filenames if they have chars with accents: OSX vs Linux
by bliako (Abbot) on Jan 02, 2024 at 19:40 UTC | |
|
Re^2: File::Find::Rule returns different filenames if they have chars with accents: OSX vs Linux
by bliako (Abbot) on Jan 03, 2024 at 12:23 UTC | |
by kikuchiyo (Hermit) on Jan 03, 2024 at 14:48 UTC |