bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Proposal about adding cp1251 (Russian Windoz) encoding in Emacs


From: Dave Love
Subject: Re: Proposal about adding cp1251 (Russian Windoz) encoding in Emacs
Date: 31 Aug 2002 18:20:46 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

Kenichi Handa <address@hidden> writes:

> And, in HEAD, you have already installed the language
> environment Windows-1251.

But I should actually have removed it after making the environments
for Bulgarian and Belarusian.  My point was that there aren't any
other windows-nnnn environments.

> So, the question is that whether
> or not Windows port of Emacs running under the codepage
> cp1251 can automatically set the language environment to
> Windows-1251.

I'm sure it could in this special case, but it needs a general
mechanism.

> And, I don't know how Windows port decides
> the language environment.

I guess it has no way of doing that properly until someone correlates
the Windows locales (for which there seem to be w32-... access
functions) with the Emacs environments, like eggert originally did for
gnunix.  (I assume that the locales don't correspond properly to the
language environments of the same name, because of differing charsets,
but I haven't looked at it.)

> Yes.  But, you setup HEAD so that selecting Windows-1251
> lang. env. automatically loads code-pages.  Thus, in this
> lang. env., there should be no problem with using the coding
> system windows-1251.

Yes, as a special case, but I assume people want a real environment
that gives them the correct language and input methods, not just the
coding system.  The two GNU locales which use windows-1251 are
Bulgarian and Belarusian, so they are all I provided.  However, for
Russian users of windows-1251, I think LC_CTYPE=ru_RU.windows-1251
should work iff windows-1251 was available at startup, but there
probably won't be a corresponding system locale outside Windows.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]