How to use international characters on OpenSlug
This howto provides you with the necessary instructions to correctly configure the locales on your OpenSlug and configure Samba so special characters display the same on the network as on the shell. To this end, we will use an ISO 8859-1 character set. You can use another character set if you want/need, but use the same one as your Windows machine (ISO 8859-1 in most cases) if you intend to use ext2 IFS (http://www.fs-driver.org).
TODO: someone should try this with the ISO 8859-15 character set and verify if it enables the euro curreny symbol.
NOTE: samba doesn't take the ISO 8859-15 chartset => conversion not supported
install the following packages from the feed:
If you want to use UTF-8 you should install the following package instead of glibc-charmap-iso-8859-1
NOTE: If you want to install fr-CH in place of en-US, you should have installed glibc-localedata-fr-ch AND glibc-localedata-de-ch !
If, instead, you want an UTF-8 or other locale type something like
Note: check if all directories needed are present! me gots an "no such file or directory" error. use
Note 2: With openslug, localedef gave an error "cannot create temporary file: No such file or directory". Checking with strace told that localedef tried to create a file in directory /usr/lib/locale, which didn't exist.
edit /etc/profile and add the following lines:
verify the iconv setup using
in the global section of /etc/samba/smb.conf, add a line that says
restart samba & log out
Setting Midnight Commander (mc)