LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 11-21-2005, 06:06 PM   #1
STARHARVEST
Member
 
Registered: Nov 2005
Location: Russia, republic of Bashkiria
Distribution: Slackware 12.1
Posts: 294

Rep: Reputation: 31
Wink Cyrillic names of files. Anybody from Russia, please response


So.. Cyrillic names of files are shown as.. like this " А�ƒк�†�‹он + Хвос�‚ ".
Any ideas how to solve this thing? maybe the mounting options in fstab?
 
Old 11-21-2005, 06:56 PM   #2
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
did you try to just set your locale ?

Code:
export LANG=ru_RU
ls
 
Old 11-22-2005, 01:51 AM   #3
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Use the mount option "utf8".
 
Old 11-22-2005, 10:48 AM   #4
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware15.0 64-Bit Desktop, Debian 11 non-free Toshiba Satellite Notebook
Posts: 4,186

Rep: Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379
What exactly would be the syntax with the utf8 option? I myself have a bunch of Japanese mp3s, but when I see the file names, mostly I don't get strange characters, only ?????? , and I can't even access them, and also I am viewing the files from a shared folder on an XP machine, so I don't quite know how to properly configure samba...
 
Old 11-22-2005, 10:55 AM   #5
mjjzf
Member
 
Registered: Feb 2004
Location: Valby, Denmark / Citizen of the Web
Distribution: Slackware 14.1
Posts: 879

Rep: Reputation: 39
As for getting cyrillics working in X, there is a good thread here.
 
Old 11-22-2005, 02:25 PM   #6
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
UTF8 is a way to encode characters http://en.wikipedia.org/wiki/UTF8
 
Old 11-23-2005, 12:34 PM   #7
dkgd
LQ Newbie
 
Registered: Sep 2005
Distribution: Debian 3.0 r5
Posts: 1

Rep: Reputation: 0
Re: Cyrillic names of files. Anybody from Russia, please response

See this localisation howto:
http://web.opennet.ru/base/rus/linux...ation.txt.html

Last edited by dkgd; 11-23-2005 at 12:41 PM.
 
Old 11-23-2005, 12:43 PM   #8
liquidtenmilion
Member
 
Registered: May 2004
Location: South Carolina
Distribution: Slackware 11.0
Posts: 606

Rep: Reputation: 32
Is there anyway to display Unicode in a terminal though?

I've been able to get X working with Japanese support for years, but never could i get a plain framebuffer terminal to do it.

I'm guessing there has to be an application for this somewhere.
 
Old 11-23-2005, 01:01 PM   #9
BaltikaTroika
Member
 
Registered: Sep 2004
Distribution: Debian 4.0, Ubuntu 6.10, Ubuntu Server 6.06
Posts: 134

Rep: Reputation: 15
You will need to do a few things in order to fully Russify your system. You can add new languages/locales in your control panel (I always add Russian as a second available language/locale during installations - it's usually in the "Advanced" settings). I believe that this will automatically allow many of your programs to display Russian without a problem (terminals and so on).

You'll want to modify your fstab so your drives come up as UTF8. If you've got an NTFS drive, add 'nls=utf8'. If you've got a FAT line in there, you'll need to add 'utf8' (in both cases, without the single quotation marks).

By the way, the one link that somebody sent you talked a lot about using KOI8R. I've always preferred UTF8, although I guess the choice is up to you. I found that I had to manually edit some mp3 tags and stuff like that, but nothing horrible. MP3 discs from Russia are usually KOI8R, I believe.

As I mentioned, I always Russify my system during installation, so it might explain why I haven't run into any big problems with software. That is, my konsole terminal displays Cyrillic characters with no problem. I had a slight problem with XMMS, but choosing a different font fixed that.

I know I'm sort of all over the place here, but if you have any more questions, we'll help you out.

Baltika
 
Old 11-23-2005, 01:17 PM   #10
liquidtenmilion
Member
 
Registered: May 2004
Location: South Carolina
Distribution: Slackware 11.0
Posts: 606

Rep: Reputation: 32
Well my Gnome-terminal can do it, but nothing outside of X can. I guess i need a pcf font(i think this is what framebuffer terminals use) that supports japanese.
If in X i can display japanese perfectly
http://img316.imageshack.us/img316/6092/nihongo1ue.png

but if i control+f2 into a terminal, well i can't take a screenshot, but trust me, it's just garbled text. This has been bugging me for years, but i just gave up and assumed it was impossible to display CJK outside of X.
 
Old 12-22-2005, 05:34 PM   #11
STARHARVEST
Member
 
Registered: Nov 2005
Location: Russia, republic of Bashkiria
Distribution: Slackware 12.1
Posts: 294

Original Poster
Rep: Reputation: 31
ok people. show me please where must I put this "UTF8" in my fstab:

/dev/hda3 swap swap defaults 0 0
/dev/hda1 / reiserfs defaults 1 1
/dev/hda5 /home_2 ext3 defaults 1 2
/dev/hdb1 /home_3 ext3 defaults 1 2
/dev/cdrom /mnt/cdrom auto noauto,owner,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0

..really I don't know what it mean by saying "defaults"..though I've read the man.. explain me please.. because I can't live whithout Slackware at all and without russian names..
 
Old 12-22-2005, 05:52 PM   #12
folkenfanel
Member
 
Registered: Sep 2004
Location: formerly Fanelia and Zaibach
Distribution: Slackware-current !
Posts: 342

Rep: Reputation: 59
Privet

Privet

Use GNOME and add this to a script that will execute gnome-session

export LC_ALL=ru_RU

like this

#!/bin/bash
export LC_ALL=ru_RU
gnome-session

That should work.
 
Old 12-22-2005, 06:10 PM   #13
STARHARVEST
Member
 
Registered: Nov 2005
Location: Russia, republic of Bashkiria
Distribution: Slackware 12.1
Posts: 294

Original Poster
Rep: Reputation: 31
Pardon, I have no GNOME installed on Slackware 10.2 and I will never install it..=)
 
Old 12-23-2005, 03:36 PM   #14
folkenfanel
Member
 
Registered: Sep 2004
Location: formerly Fanelia and Zaibach
Distribution: Slackware-current !
Posts: 342

Rep: Reputation: 59
it also would work in KDE, although...

It also would work in KDE, and although KDE does not need it some stuff (like mc) that is executed from within KDE will thank you if you specify in that way that you want everything to be ru_RU.

If you are going to mount any VFAT device, it would be useful to tell your kernel that you're going to speak Russian with it.

In that case, you can also recompile your kernel indicating Cyrillic as the default NLS. If you do that you don't need to add anything to your fstab.

It would help to use the Win$$$$$ fonts. I use them. (I own a copy of W$&& so i use the fonts i paid for; but i do think there are free Cyrillic fonts out there)

Good luck!
 
Old 12-23-2005, 04:27 PM   #15
STARHARVEST
Member
 
Registered: Nov 2005
Location: Russia, republic of Bashkiria
Distribution: Slackware 12.1
Posts: 294

Original Poster
Rep: Reputation: 31
"recompile your kernel indicating Cyrillic as the default NLS" - how to ?
 
  


Reply



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
cant rsh without password dispite following howto's! SourCreamAndOni Linux - Software 2 08-09-2009 04:11 PM
LQ REQ: Real newbie HOWTO's, refs, etc etc. unSpawn Linux - Security 200 01-06-2006 07:09 PM
HOWTO's ubuntu2 Linux - Software 2 09-27-2005 08:02 AM
Diskless (Howto's my ****) a few scripts aufomechanic LinuxQuestions.org Member Success Stories 1 02-20-2005 03:51 PM
In search of simplified Howto's (compiling kernel) ThrobberTon Linux - Newbie 1 12-02-2002 03:47 PM

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

All times are GMT -5. The time now is 11:14 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