2008/6/24, Remi Gillig <remig...@gmail.com>:
> First two encodings are supported
> well in SciTE but not the koi-8. It is impossible to just open file in
> koi-8 and edit under windows.
Other 8 bit character sets are supported directly on Windows by
just setting the character set parameter when choosing a font.
Supporting other character sets is a lot more work and no one has been
sufficiently interested to implement this.
Neil
Changing font for each file is not very convenient way. IMHO most of
russian speaking people (especially programmers) need an editor which
supports unicode, cp1521, cp866 and koi8 encodings. By the way, as I
know linux version of SciTE supports well koi8, but it lacks of
support of cp1251. All I want is to edit linux files under windows and
vice verse. Why not to make SciTE more cross-platform? If english is
the most familiar language, should people speak just english? Every
text editor want to be popular in countries using cyrillic encodings
must support at least cp866 (aka dos, aka oem), cp1251 (aka windows)
and koi8. And, of course, unicode. By the way, one third to one half
of e-mails are still in koi8 encoding in Russia.
> Changing font for each file is not very convenient way.
The call to SetLogFont/CreateFontIndirect takes a font name and a
character set and then displays the bytes of text as that character
set. You can ask it to use Tahoma and GREEK_CHARSET for example. KOI-8
is not one of the character sets supported by Windows.
Neil
Yes. On linux systems it is vice verse: it often lacks of windows
charset. So cross-platform editors transparently recode editing file
and user's input to internal encoding (e.g., utf-8). Or they edit file
as is but convert it before displaying to encoding supported by
screen.
P.S. Thanks for listening. :-)