Normalization to NFC

Status
Not open for further replies.

f4242

Explorer
Joined
Mar 16, 2017
Messages
97
Hello,

We have mac, windows and linux clients on our network. They all use a SMB share. I have a problem with accentuated characters. Some files have theirs accents encoded with 2 bytes. The problem is related with the NFC/NFD normalization. The problem doesn't always occurs and I didn't even found a way to reproduce it (!). The problematics files are used by mac and windows users, I'm pretty sure the linux clients are not implicated. I suspect the problem occurs when the same file is handled by a mac and windows clients. Surprisingly, the NFD encoded files are owned by users using Windows.

When a mac user is trying to open the NFD encoded file on their mac directly from the SMB share, it fails (the finder just do nothing). When they try to copy it on the local computer, the finder say the file cannot be found.

Is there a way to configure samba to normalize all files to NFC?
 
Last edited:

PhilipS

Contributor
Joined
May 10, 2016
Messages
179

f4242

Explorer
Joined
Mar 16, 2017
Messages
97
So I need to find all accentuated characters and map them manually?
 

PhilipS

Contributor
Joined
May 10, 2016
Messages
179
I would try it with one and see if it works - I'm not real familiar with this VFS object, just know that it exists for things like this.
 
Status
Not open for further replies.
Top