SlackwareThis Forum is for the discussion of Slackware Linux.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I am new to linux. And sorry for my bad english. I want to learn about character encodings.
I installed slackware linux, i don' know which encodings it uses. how can i change it.
For example, i use mozilla, but i cannot get right fonts from it as i write them.
I am turkish so i have to use iso8869-9, windows 1254 or utf 8.
I write a e-mail to my friend but he cannot see right fonts.
what do i have to do?
If you can see the fonts, then the problem isn't at your end.
Case in point, これが読めないか？
If you could see the characters, it's because you have a font that supports Japanese installed (and lq.org's server sending pages in utf-8). If not, then it's not a problem at my end. I was able to type a sentence in Japanese and I can see the hiragana and kanji, because my computer is set up for it. Likewise, if you can see the turkish script when you're typing the e-mail, but your friend can't see it, it's because your friend doesn't have an appropriate font installed. If you want to be 100% sure, use UTF-8.
I don`t know about turkish, but for us (russian) slackware don't have correct russification. What we do in Russia:
1. Install slackware by default (for us)
2. Change /etc/profile.d/land.sh and /etc/profile.d/land.csh
In /etc/profile.d/land.sh comment 'export LANG=en_US' and add new string 'export LANG=ru_RU.UTF-8' (here must be you locale, see 'locale -a' for list all locales installed in system), in /etc/profile.d/land.csh the same way.
3. Edit /etc/rc.keymap
/usr/bin/loadkeys /usr/share/kbd/keymaps/i386/qwerty/ru-utf.map.gz ## ru-utf.map.gz we take from russia slackware-base distro MopsLinux, you need find it for turkish
4. Edit /etc/rc.font
unicode_start ter-u16b.psf.gz ## terminus font must be installed, i don`t know how it work with turkish, but slackware have other font
for i in 1 2 3 4 5 6;do
echo -ne "\033%G" >/dev/tty$i
I hope, it help you.
p.s. One good advice. Slackware don't have correct russification, but we have dozen how-to in RUnet about it. May be you need industriously torment Google? =)