Hi! >>>>> <[EMAIL PROTECTED]> writes:
> Hello! All! > Does anybody know where I can get more character-sets or coding > systems for russian language. I have a lot of russian text-files, > but some of them I cannot read. The most simple aproach for reading different text files in different encodings is to convert such file in to your default encoding. For instance you can use `recode' command for that purpose. Say you have a simple text file that you can open under windows. Usually it means that this file is in windows-1251 encoding. So you can try the following command on such a file: recode windows-1251 your_file.txt This will put this file in your current encoding. It is not a good solution if you are working in non-russian environment. So, if you wish to specify koi8-r as your default character set, use recode windows-1251..koi8-r your_file.txt Another aproach is to customize emacs in such a way that it would be able to read Russian texts in different encodings. This is mostly done in Oralux by loading Russian.el file, but you will need to put some extra lines in your ~/.emacs and run saveconfig: (codepage-setup 1251) (define-coding-system-alias 'windows-1251 'cp1251) (codepage-setup 866) (define-coding-system-alias 'dos-866 'cp866) After making such a customization you will be able to specify coding system before opening a file. Say you wish to open a Russian text encoded in cp866 dos character set. Then in emacs do: C-x <ret> c Specify_your_coding <ret> C-x C-f And so on. Besides. there is a small utility called xcode which tries to guess the encoding automatically for you and convert text in your default encoding. It is free and open source, but I don't know it's url on the internet. So, if you wish that utility, mail me privately and I will mail it to you. I also will be very glad to answer all your other questions, so feel free to write me privately so that we would not bother other list members with these matters. With best wishes, Sergei. _______________________________________________ Oralux mailing list [email protected] http://lists.freearchive.org/mailman/listinfo/oralux
