"Igor Karpov" <[EMAIL PROTECTED]> a ecrit dans le message news:
[EMAIL PROTECTED]
> Well, display as specified by encoding="..." - it covers the most general
case.
> Plus there's the possibility to change the encoding manually (haven't
tried the
> latest builds yet..)
> Ideally, the best you can do is to check whether the content really has
that
> encoding (somehow) and if it doesn't, bring up a warning message like
> "Encoding attribute says that it's utf-8 but it looks like it's different.
> Would you like to choose the encoding or open as utf-8 anyway?"

Especially since now IntelliJ uses JDK1.4, there are some methods in the
java.nio.charset package that allow you to know whether there are illegal
characters that dont belong to the charset.
So it should be easy.
So just in case it's illegal, a popup or dialog window could allow us to fix
this.
That's right!

Guillaume


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

Reply via email to