You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Unable to access files containing special characters (accents) on a SMB share

I can't access some files on a SMB share.

Those files have one thing in common, that is they contain accented characters (àèéìòù).

I can't access them from finder, terminal, or other softwares.


It works fine when accessing them from a Windows 7 client.


How can I fix this issue?

Is there some SMB option to specify the UTF8 encoding?


In addition, when I create a file with such characters from my mac, the special character shows as ?? on a non-mac client.

SMB Client-OTHER, Mac OS X (10.7.2)

Posted on Dec 4, 2011 10:31 AM

Reply
Question marked as Top-ranking reply

Posted on Dec 10, 2011 9:37 AM

it turns out I had way more filenames with accented letters that worked well with MacOS X.


the difference is subtle: those OS X didn't like were like a "composition" of two character (sorry, I don't know the encoding details), that is a vowel and a unicode special character that modifies the previous char adding an accent.

I discovered this while renaming the files from a Windows client, by placing the cursor after "é" in "perché" and hitting backspace, it turned into "perche", and hitting backspace again deleted the "e", turning into "perch".


so I fixed those few invalid filenames.

5 replies
Question marked as Top-ranking reply

Dec 10, 2011 9:37 AM in response to 0xFFFF

it turns out I had way more filenames with accented letters that worked well with MacOS X.


the difference is subtle: those OS X didn't like were like a "composition" of two character (sorry, I don't know the encoding details), that is a vowel and a unicode special character that modifies the previous char adding an accent.

I discovered this while renaming the files from a Windows client, by placing the cursor after "é" in "perché" and hitting backspace, it turned into "perche", and hitting backspace again deleted the "e", turning into "perch".


so I fixed those few invalid filenames.

Dec 10, 2011 11:18 AM in response to 0xFFFF

Do I understand correctly that you were able to solve the problem by making sure that the file names on the SMB share used "decomposed" characters, such as e character plus combining acute accent character? If so, that must be related to the fact that the OS X file system requires this and can't handle the single character "composed" version.


http://en.wikipedia.org/wiki/HFS_Plus

Unable to access files containing special characters (accents) on a SMB share

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.