Matej>> - I have not found a way to setup the coding systems to
Matej>> work transparently using "default" coding systems.
SJT> There's no good way for Cyrillic, or any language infected by MS
SJT> 12xx code pages. With Cyrillic it's even worse because of KOI8.
SJT> Are you setting file-coding-system-alist and using a Cyrillic language
SJT> environment?
Windows codepage 1250 is East-European codepage - a modified
ISO 8859-2.
In my tests I was trying to setup XEmacs to read and write
CP1250 "DOS" encoding by default and to use any other
encoding (ISO-8859-2 and/or Unicode) on request.
I have attached my "testing" initialization file.
What I was referring to was the fact, that I have found no
easy way to setup XEmacs to behave as any Windows locale
aware application should: to read and write ANSI ( or OEM )
charset by default on non-recognized files.
( I am aware that I testing a non-finished implementation. )
If automatic configuration is not possible perhaps a new
"language environment" "MSWindows" should me added?
Something that would setup the correct coding systems
according to current Windows locale with a simple command.
Anyway, the two problems that I have are documented in the
attachment:
- As soon as I specify "buffer-file-coding-system-for-read"
the DOS EOL detection stops working on a simple text
files.
- I was trying to setup coding systems using
"prefer-coding-system" which failed.
--
MM.