UTF-8 and FreeBSD
Tags: freebsd« Previous post: Opera and libnpp.so — Next post: GnuCash and the Euro currency symbol »
Unicode is really nice: Less meddling with codepages, less display problems etc. Here are some notes explaining how to enable this functionality for FreeBSD.
On my system, two steps were required. Step one involved changing
(in my home directory). I added the following lines:
me:\ :charset=UTF-8:\ :lang=de_DE.UTF-8:
After logging off and on again, locale settings should work properly. Step two
.gvimrc in my home directory because the fonts listed there
had the wrong charset. Instead of
ISO8859-15 I used
convinced vim to work properly, too.
For those of you who do have files with filenames in the “old encoding” the tool
convmv might prove invaluable. FreeBSD users get it from
/usr/ports/converters/convmv and might want to take a look at the man page.
There is only one drawback: Unfortunately, if you are trying to use the console (without X running), things might get ugly. Apart from that problem (which can be fixed by temporarily resetting the input locale), all things “just work”. My, my. Isn’t that something?