LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (http://www.linuxquestions.org/questions/linux-general-1/)
-   -   Other than US encoding (http://www.linuxquestions.org/questions/linux-general-1/other-than-us-encoding-280117/)

kornerr 01-20-2005 09:51 AM

Other than US encoding
 
I cant access to Russian named dirs/files on my fat32/ntfs. And when I create Russian named file on reiserfs its name displayed like ?????? ?? ??. Can I fix it? And, by the way, I cant type Russian in Emacs, though I chose non-US layouts handling for Emacs during (Slackware) installation. Kernel supports my Russian encodings.
Any ideas?

SciYro 01-20-2005 10:19 AM

the kernel must be compiled with the necessary codepages (all of them) in order to access fat/vfat file systems (codepages translate to and from the necessary encoding on fat/vat)

and as for reiserfs, i think thats the kernel, if it has the necessary encodings compiled in tho, there shouldn't be a problem (you should use utf-8 in there also), as for emacs thing, as i recall, emacs is for X is it not? (i never seen it work in console), but either way, setup the environment to use Russian layouts ("loadkeys" in for the virtual terminals, and "xloadkeys" for X i think it was)

kornerr 01-20-2005 10:43 AM

I will recompile kernel using all Russian code pages. Will see. But how to set up the utf-8 encoding as default for Linux (and if u know for win2k)? During installation???

SciYro 01-20-2005 10:50 PM

all i know is that in the kernel it says "use this encoding for default" i think ... its a string you type in, but it isn't necessary that much, apparently its only used on the file systems fat/vat and i think ext2/3 and maybe minix (mostly the old file systems)

as for systems encoding, use the LC environment variables .... personally i prefer utf8 as it has support for every language (thru unicode)

http://home.no.net/david/i18n.php#utf maybe can help

kornerr 01-21-2005 09:42 AM

I recompiled kernel, but still can't access to Russian named files on fat32/ntfs. Thanks for the link. I'll see it someday...


All times are GMT -5. The time now is 09:35 AM.