VectorLinux
November 21, 2014, 08:17:16 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Visit our home page for VL info. To search the old message board go to http://vectorlinux.com/forum1. The first VL forum is temporarily offline until we can find a host for it. Thanks for your patience.
 
Now powered by KnowledgeDex.
   Home   Help Search Login Register  
Please support VectorLinux!
Pages: 1 [2]
  Print  
Author Topic: Cyrillic text problem  (Read 8843 times)
budulay
Packager
Vectorian
****
Posts: 568


NewComer


« Reply #15 on: April 08, 2009, 03:26:11 pm »

Just found a nice useful info on encodings.
http://www.brama.com/compute/index.html
Logged

VL6.0-Light@MSI MS-1652(AMD TurionX2 ZM-84 2300 MHZ, 4 GB RAM, 250 GB HDD, Nvidia GForce 9600M GT, GIGABYTE AirCruiser N300)
Registered Linux user #473602
SlackBuild Repository for VL7.Not much but it's a start. Join in!
budulay
Packager
Vectorian
****
Posts: 568


NewComer


« Reply #16 on: April 20, 2009, 05:40:00 pm »

This is a major breakthrough. And in the same time it is so simple! Right now I am feeling like an idiot and a genius at the same time...

I clearly remember reading this article, and I also remember trying the solution before, but it haven't worked. Now I know why - the word iocharset starts with an "i" rather than "l". And due to a font used at the Ubuntu forum, these two could be easily confused.
So here are few things I found:
1) No more problems reading CDs with cyrillic filenames! Just add "iocharset=utf8" to your optical drive's line in /etc/fstab:

# CDROM, CDWRITER, DVD
/dev/cdrom    /mnt/cdrom   iso9660   defaults,noauto,ro,user   0 0
#/dev/cdwriter /mnt/cdwriter   iso9660   defaults,noauto,rw,user   0 0
/dev/dvd      /mnt/dvd    auto   defaults,noauto,ro,user,iocharset=utf8    0 0

2) To convert filenames from one encoding to another I used convmv. If the filenames are workable (when cd with non-English filenames is not mounted without using above method and then you copy files from it, filenames get messed up), convmv works fine. The only trick is that you need to know original filename encoding.

3) There is /usr/share/fonts/encodings/ directory with a whole bunch of encoding files in there. It seems like all cyrillic encodings are there(except for iso8859-5). Also Leafpad seems to read text files(when the encoding is specified) just fine.
« Last Edit: April 20, 2009, 06:06:31 pm by budulay » Logged

VL6.0-Light@MSI MS-1652(AMD TurionX2 ZM-84 2300 MHZ, 4 GB RAM, 250 GB HDD, Nvidia GForce 9600M GT, GIGABYTE AirCruiser N300)
Registered Linux user #473602
SlackBuild Repository for VL7.Not much but it's a start. Join in!
Pages: 1 [2]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!