LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   adding utf8 support to slackware 10.2 (https://www.linuxquestions.org/questions/slackware-14/adding-utf8-support-to-slackware-10-2-a-485303/)

mahdif 09-20-2006 09:49 AM

adding utf8 support to slackware 10.2
 
how can I compile the kernel 2.4 with UTF8 support? I am a newbie and would appreciate simple instuctions. thanks

shotwellj 09-21-2006 09:13 AM

There is a good chance I'm wrong, but I don't think there is any special kernel option unless you are using a FAT filesystem somewhere and want UTF-8 support on that filesystem. You may be using a FAT filesytem if you are dual booting MS Windows and you may occasionally use one if you have an ipod, thumbdrive, digital camera, etc... You can add support for FAT filesystems in filesystems -> native language support. The stock 2.4 kernel on Slackware compiles this as a module.

You can find instructions on enabling UTF-8 in Slackware here:
http://wiki.linuxquestions.org/wiki/...8Unicode.29.3F

In the example, they use en_GB.UTF-8. 'en' is the language code, and 'GB' is the country code. You can find such codes at the following places:
http://www.iso.org/iso/en/prods-serv.../list-en1.html
http://www.loc.gov/standards/iso639-2/langcodes.html

Finally, you may want to add international fonts. If you have access to an XP machine, you can steal them from Windows XP. Another way is to add the dejavu fonts. If you want help with either of these tasks, then the following links will be helpful:

http://www.linuxquestions.org/questi...46#post2163346 (for XP fonts)
http://dejavu.sourceforge.net/wiki/index.php/Main_Page (dejavu)

mahdif 09-23-2006 01:44 AM

your'e right i want to browse ntfs dives and some file names on those drives are in Persian. so according to http://wiki.linuxquestions.org/wiki/...8Unicode.29.3F i don't need to recompile the kernel, do I? should I set the default NLS in kernel to utf8?


All times are GMT -5. The time now is 07:27 PM.