|
From: | Ognyan Kulev |
Subject: | Re: TUTORIAL.bg and windows-1251 |
Date: | Wed, 26 Nov 2003 09:16:55 +0200 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031105 Thunderbird/0.3 |
Kenichi Handa wrote:
In article <address@hidden>, Ognyan Kulev <address@hidden> writes:Can X encoding be adjusted? Isn't there only two choices for cyrillic: iso10646-1 and iso8859-5?It seems that bg_BG locale of glibc, gtk, or XFree86 (I don't know which is responsible for) encodes cyrillic characters using extended segment with charset name "microsoft-cp1251" in selection.
Yes, CP1251 in Bulgaria is what is KOI8-R in Russia.
Please try the attached file. It overrides the ctext encoder/decoder so that microsoft-cp1251 is used on decoding in Bulgarian lang. env.
After (use-microsoft-cp1251-font) in *scratch*, windows-1251 files are displayed correctly :-)
Is it problem if this function is always evaled when Emacs is started? One can want to view windows-1251 encoded file without being in Bulgarian language environment. Will this case be resolved?
Regards -- Ognyan Kulev <address@hidden,fsa-bg.org,jabber.net}> 7D9F 66E6 68B7 A62B 0FCF EB04 80BF 3A8C A252 9782
[Prev in Thread] | Current Thread | [Next in Thread] |