"Igor Karpov" <[EMAIL PROTECTED]> a ecrit dans le message news: [EMAIL PROTECTED] > To start with, It would be enough to support autodetection of plain old > us-ascii, utf-8 and the system default encoding. > For instance, I use only those three. > And, of course, it should be XML-friendly. > Personally, I have some XMLs that are in UTF-8 and some are just without any > encoding (assuming us-ascii), and it's still a pain to edit UTF-8. Even if I > had Win2000(XP?) here with its mighty notepad, it would insert its 3 bytes at > the start that drive XML tools crazy...
Hmm... that's the problem. It's easy to guess when it's ASCII or UTF-8. But maybe we could assume that chars between 128 and 255 are from the standard platform encoding (system default encoding) ? KOIR-8 if you're Russin, ISO-8859-1 if you're European, etc... Some editors like UltraEdit seem to be quite good at guessing the encoding of a file. Guillaume _______________________________________________ Eap-features mailing list [EMAIL PROTECTED] http://lists.jetbrains.com/mailman/listinfo/eap-features
