I'm trying to access from a MAC (Using Finder, or the commands 'find' or 'ls') some folders whose names contain accented chars. Some of those folders are fully visible on the MAC, some not. Here is what I did and what I found:
- I use the "lftp mirror" command to get folders from a server to my Synology NAS.
- Lftp is configured to process file names in UTF-8
- When I try to access some of those folders that contain accented chars from the MAC (using the Finder or even the commands 'ls' or 'find'), the folder is not reachable.
- Using the GUI from the NAS, I noticed that the folders in question have names with accented chars made of two different chars (When you delete an 'é' for example, you first delete the accent and then the 'e').
- Folders whose names contain simple accented chars are OK.
- When I copy those files directly to my MAC (using rsync with format conversion from UTF-8 to UTF-8 MAC), everything is OK. I even suspect I do not need to use the conversion command and simply copy the files (TBC).
So, question is 'simple': do I need to systematically convert the files before using them, or is there a better way.
Additionally, I do not want to convert the files in the directory where I am mirroring my remote server. I will need to copy the renamed files to another location to avoid issues with the mirror command.