I have changed /etc/profile.d/lang.sh to include:
Here is my local:
and my .bash_profile for GTK+-2.4 Specific include:
while I try ro save any html file in firefox, it occurs an error:
invalid file name
Conversion from character set 'UTF-8' to '@local' is not supported
How could I modify 'G_FILENAME_ENCODING=@local' to fix the error?
According to faq, I may as well 'change the default terminal font to a Unicode one'? how can I do it? thanks.
Does Slackware use UTF-8 (Unicode)?
By default, UTF-8 is disabled in Slackware for greater backwards compatibility with programs that do not yet support it.
To enable it, edit /etc/profile.d/lang.sh and add:
Where en_GB is whatever language you use.
Be aware, you will also probably need to change the default terminal font to a Unicode one, and you're going to have to rename any directories or files that use characters from the ISO 8859-* sets that are not part of the 'core' ASCII characters - e.g. any accented characters. GTK2 and QT based programs should be fine, as well as any that call directly XFT.
Also, the console support for unicode is rather poor at the moment, it's more useful in X. There are also other problems associated with Unicode (evaultions in scripts, etc) that you should be aware of before switching.
man requires you to use an alias to work properly (otherwise it displays very strange characters):
alias man='LC_ALL=C man'
This code can be adapted as need be