LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 05-14-2005, 05:57 PM   #1
sharapchi
Member
 
Registered: Nov 2004
Location: Turkey
Distribution: slackware
Posts: 119

Rep: Reputation: 15
character encodings


Hi,
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?
 
Old 05-15-2005, 12:52 PM   #2
killerbob
Member
 
Registered: Oct 2004
Location: Ottawa, ON
Distribution: Slackware
Posts: 662

Rep: Reputation: 30
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.
 
Old 05-15-2008, 06:29 AM   #3
kairen
Member
 
Registered: Oct 2006
Location: Bulgaria
Distribution: Slackware64 14.1
Posts: 88

Rep: Reputation: 15
Hi killerbob

This is somewhat off topic but since you've mentioned hiragana I want to ask you how to enable japanese support in Slackware 12.1 ?

I have installed the language pack and in KDE added the language and the keyboard layout. In google I have read about canna package and kinput2. Do I have to install them as well?

thanks
 
Old 05-15-2008, 09:20 AM   #4
vehn
Member
 
Registered: Dec 2007
Posts: 54

Rep: Reputation: 17
Hi, sharapchi
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
done

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? =)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Putty and Japanese encodings stutterbug Linux - General 4 07-02-2010 12:15 PM
How to use iso8859-2 encodings for characters in GNOME 2.6 Rajahuroman Linux - Software 2 05-04-2009 09:50 AM
MySQL, Perl, Encodings ivanatora Programming 1 02-24-2005 07:56 AM
Character replacement SeT Linux - General 1 11-18-2004 01:21 PM
^M character david_wliu Linux - General 6 03-17-2003 12:16 AM


All times are GMT -5. The time now is 06:04 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration