Ubuntu, Samba, and Filenames Containing Unicode

Posted by admin on Feb 20, 2008 in Unix |

I have a share on Windows that is mounted to Ubuntu. The filenames on Windows contain Unicode characters. When mounted to Ubuntu, the “special” characters appeared as question marks.

The solution to this problem required a lot of research, but in the end turned out to be straightforward:

In the entry for mounting the share in /etc/fstab:

  1. Make sure the file system type is “cifs” not “smbfs.”
  2. Add the following option: iocharset=utf8


You must be logged in to post a comment.

Copyright © 2017 Standalone Code LLC All rights reserved. Theme by Laptop Geek.