You are not logged in.

#26 2006-07-19 14:01:22

Romashka
Forum Fellow
Registered: 2005-12-07
Posts: 1,054

Re: How make that be russian laters, but not '?????', of files?

alikas wrote:

I try install Midnight Commander. But do not install, how yuo see. In terminal 'mc' not work.

:shock:
What pacman -S mc outputs?


to live is to die

Offline

#27 2006-07-19 16:30:54

alikas
Member
From: Lithuania, Vilnius
Registered: 2006-05-24
Posts: 319
Website

Re: How make that be russian laters, but not '?????', of files?

Install Midnight Commander,

mount /dev/hda5 /mnt/a -o codepage=866,iocharset=koi8-r

,
But still in Midnight Commander show '??' of russian file names.


Goodbye!

Offline

#28 2006-08-03 15:21:13

damjan
Member
Registered: 2006-05-30
Posts: 452

Re: How make that be russian laters, but not '?????', of files?

alikas wrote:

In locale.gen after I install glibc be uncommented this text: "ru_RU   ISO-8859-5",
But I uncomment 'ru_UA.UTF-8     UTF-8'.
Then run locale-gen.
Then in rc.conf is that text:

LOCALE="ru_RU"

So you uncomment ru_UA.UTF-8 but set-up the rc.conf to use ru_RU?!???

So, what's the locale you'd like to use? If you use the russian language then you have a ru_, if you are in Ukraine then it's ru_UA. , if you are in Russia it's ru_RU., if you want to use the UTF-8 charset (highly recommended) the whole locale name would be "ru_RU.UTF-8" or "ru_UA.UTF-8".

So whatever locale you choose, it should be listed in "locale -a" and set-up in rc.conf.

In /etc/locale.gen you need either (or both, it doesn't hurt) of:

ru_RU.UTF-8    UTF-8
ru_UA.UTF-8    UTF-8

And please reboot once after setting up all of this, just to make sure everything is initialized properly.

BTW, in the Linux console I use the cyr-sun16 font, which is unicode and contains cyrillic letters for all of the cyrillic using languages(and looks nice too). So in rc.conf I have:

LOCALE="mk_MK.utf8"
HARDWARECLOCK="UTC"
TIMEZONE="Europe/Skopje"
KEYMAP="mk-utf"
CONSOLEFONT="cyr-sun16"

Offline

#29 2006-08-03 15:51:31

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: How make that be russian laters, but not '?????', of files?

damjan wrote:

In /etc/locale.gen you need either (or both, it doesn't hurt) of:

ru_RU.UTF-8    UTF-8
ru_UA.UTF-8    UTF-8

Shouldn't you also uncomment the other ru_* stuff?

ru_RU.KOI8-R   KOI8-R
ru_RU.UTF-8    UTF-8
ru_RU  ISO-8859-5
ru_UA.UTF-8    UTF-8
ru_UA  KOI8-U

After all English only works if you also uncomment the ISO-8859 entry.

Offline

#30 2006-08-21 08:05:24

Romashka
Forum Fellow
Registered: 2005-12-07
Posts: 1,054

Re: How make that be russian laters, but not '?????', of files?

Gullible Jones wrote:

Shouldn't you also uncomment the other ru_* stuff?

No. User needs to uncomment only one entry (of course if all user profiles use the same locale).

Gullible Jones wrote:

After all English only works if you also uncomment the ISO-8859 entry.

From all cyrillic charsets ISO is one of the most rarely used.


to live is to die

Offline

Board footer

Powered by FluxBB