Sunday, October 4, 2009

ÆØÅ special chars, Synology NAS and Ubuntu

Problem: Wrong character encoding when mounting CIFS/Samba share from Synology NAS in Ubuntu 8.04. Black diamond with question mark (unicode replacement character �) displayed instead of æøåÆØÅ. File Station web interface and mounting from Windows machine works perfectly.

Solution: Use -o iocharset=utf8 in mount.cifs.

An example:

mount.cifs \\\\server\\share mount_point_folder/ \
-o user=myusername,iocharset=utf8

Source: http://www.linuxin.dk/node/13731

No comments:

Post a Comment