"Igor Karpov" <[EMAIL PROTECTED]> a ecrit dans le message news:
[EMAIL PROTECTED]
> Well, let it be only ascii and utf-8 plus a popup dialog asking to select
> encoding if it's not one of those two (configurable). This user selection
could
> also be remembered somewhere.
>

By default, for the 128-255 range, it could suggest the encoding provided by
System.property("file.encoding") ?
On windows though, it's a bit tricky since Windows' default encoding is
windows-cp1252, whereas in the console it's cp850 (as far as I remember).

The real issue is this bloody 128-255 range :o/
We should try to find some rules based on the study of the character tables
of these encodings.
For instance, cp1252 is a superset of ISO-8859-1. It adds some characters in
the range from 0x80 to 0x9F .
http://java.sun.com/j2se/1.3/docs/guide/intl/faq.html#Character%20Encodings
http://java.sun.com/j2se/1.3/docs/guide/intl/faq.html#Character%20Encodings
ISO-8859-1 doesnt use the whole 128-255 range.
Maybe KOIR has also some special characters that when encountered help us be
sure it's KOIR...

It takes time to compile some rules, but I think it's worth the pain.

Guillaume


_______________________________________________
Eap-features mailing list
[EMAIL PROTECTED]
http://lists.jetbrains.com/mailman/listinfo/eap-features

Reply via email to