Ubuntu, Samba, and Filenames Containing Unicode

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

Leave a Reply