LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 09-01-2005, 02:34 AM   #1
awl
Member
 
Registered: Aug 2005
Location: Belgrade, Serbia
Distribution: Debian testing
Posts: 30

Rep: Reputation: 15
Question international chars


1 Ok, I have ntfs partitions with lots of files named in different languages(using nonUS chars of course).
How to display their names corectly under linux console and/or KDE and its terminal?
Feel free to point out any F__king M_____s if there are some user-friendly. "I like to learn" : ))

2 Also, how can i combine Unicode support in Linux with my native language in a natural way (meaning for example using a certain layout and displaying my nonUS chars in console while using unicode_start).

Running Slack 10.0, 2.6.7 kernel (or 2.6.9 I can't remember if I compiled it :-)
 
Old 09-01-2005, 02:38 AM   #2
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
It seems they're supported by the ntfs module http://linux-ntfs.sourceforge.net/info/ntfs.html
Try reading mount's man page, look for ntfs options.
 
Old 09-01-2005, 02:50 AM   #3
awl
Member
 
Registered: Aug 2005
Location: Belgrade, Serbia
Distribution: Debian testing
Posts: 30

Original Poster
Rep: Reputation: 15
Question

Strange, but I did enable utf-8 for ntfs when I mounted it. It still displays trash. Though, I don't know if unicode is default for WinXP filesystem thingies? Maybe this is the problem?
 
Old 09-01-2005, 02:59 AM   #4
awl
Member
 
Registered: Aug 2005
Location: Belgrade, Serbia
Distribution: Debian testing
Posts: 30

Original Poster
Rep: Reputation: 15
Another question, but similar.

I have used an '98 howto to set up my native language on the console. It was done via loadkeys and setfont in rc.local. Now, is there any _slackware_ way of doing this in some more elegant manner?
 
Old 09-01-2005, 04:00 AM   #5
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware64 14.2 and current, SlackwareARM current
Posts: 1,648

Rep: Reputation: 148Reputation: 148
I struggled with international chars, too. The fix for me was to set the "iocharset" AND the "codepage" parameter when mounting, and ---- voilą! As far as I have read iocharset is deprecated and should be substituted with "nls".
 
Old 09-01-2005, 04:14 AM   #6
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware64 14.2 and current, SlackwareARM current
Posts: 1,648

Rep: Reputation: 148Reputation: 148
Quote:
Originally posted by awl
I have used an '98 howto to set up my native language on the console. It was done via loadkeys and setfont in rc.local. Now, is there any _slackware_ way of doing this in some more elegant manner?
I don't know if that's the real _slackware_ way, but I got this by setting environment variables like LC_LANG and LC_ALL. Sorry, but I'm working with Windows right now, so I cannot tell you _where_ I set them. I remember editing something in /etc/profile.d/ and the search brings up this: http://www.linuxquestions.org/questi...setting+locale
 
Old 09-01-2005, 06:06 AM   #7
awl
Member
 
Registered: Aug 2005
Location: Belgrade, Serbia
Distribution: Debian testing
Posts: 30

Original Poster
Rep: Reputation: 15
Talking

Quote:
I don't know if that's the real _slackware_ way, but I got this by setting environment variables like LC_LANG and LC_ALL. Sorry, but I'm working with Windows right now, so I cannot tell you _where_ I set them. I remember editing something in /etc/profile.d/ and the search brings up this: http://www.linuxquestions.org/quest...+setting+locale
Thanks, I'm currently fiddling with those things you mentioned. I was confused a little by the fact that there is no recent documentation easily obtainable(searchable) which explains configuring localization for both the console or X, well at least at the level of a user with some intermediate (with holes here and there) level of understanding the system administration. Most of which I have found is something oooold, and simply beyond my (will for) understanding.

(a sidequestion: in many of these docs I read, you have to download various fonts and put it in some directories and then run some strange commands for X(Free86)...Is this really necessary for present-day distros? I am from Europe, not from Pluto.)

So, If somebody knows a nice introduction to these issues, it would be appreciated! Or a tool, that can do it for you (excluding KDE's tool from Control Centet)

If not, well, I'll apply for Green Card Lottery!
 
Old 09-01-2005, 10:28 AM   #8
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
Well, it's not that hard, to customize console you need to edit /etc/profile.d/lang.sh , /etc/rc.d/rc.keymap and /etc/rc.d/rc.font. In X.Org you need to set the keyboard map in /etc/X11/xorg.conf and well, the already setup lang.sh file.
If you did a full installation of Slackware it comes with a lot of foreign fonts so you shouldn't have any problems. And installing fonts is not that hard, http://artwizaleczapka.sourceforge.net/README there you can see how to install artwiz fonts (a nice set of fonts for X).

Last edited by gbonvehi; 09-01-2005 at 10:29 AM.
 
Old 09-01-2005, 01:17 PM   #9
awl
Member
 
Registered: Aug 2005
Location: Belgrade, Serbia
Distribution: Debian testing
Posts: 30

Original Poster
Rep: Reputation: 15
Thumbs up

Hey, that was useful! It solves the technicalities.
 
  


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
storing 5 chars into an int in C++? jwn7 Programming 28 05-30-2005 06:54 AM
how many chars can be displayed in a line? williamjxj Linux - Software 1 10-25-2004 03:24 AM
chars } and $ won't work.. among others.. apax Linux - Newbie 8 11-26-2003 09:20 AM
international cd over_clock Linux - Newbie 3 11-17-2003 06:14 PM
Can't read international chars in *some* emails. Lenny Linux - Networking 0 09-09-2003 03:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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

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
Open Source Consulting | Domain Registration