Hi,
my first contact with Butterfly was not very promising:
I have an xml doc encoded with encoding="UTF-8". According to my reference Ultraedit, it's "U8-DOS".
After editing and saving with Butterfly, Ultraedit shows an encoding "U8-Unix". But some non-ASCII characters are messed up.
Instead of
<ns3:Comments>Bitte senden Sie eine Suva-Apotheke an hôtel-garçon in genève</ns3:Comments>
Ultraedit shows invalid characters.
And not only Ultraedit has problems: when I reload it into Butterfly, it does not load at all (no error message is shown, which is another bug in my opinion). In the command window I see exceptions:
java.lang.NullPointerException
at org.apache.xerces.impl.io.UTF8Reader.invalidByte(Unknown Source)
at org.apache.xerces.impl.io.UTF8Reader.read(Unknown Source)
at java.io.BufferedReader.fill(Unknown Source)
at java.io.BufferedReader.readLine(Unknown Source)
at java.io.BufferedReader.readLine(Unknown Source)
at butterfly.xmlview.io.XmlViewFileSystem.readFile(XmlViewFileSystem.jav
a:141)
at butterfly.actions.contenthandlers.AbstractContentHandler.loadDocument
(AbstractContentHandler.java:84)
at butterfly.actions.OpenAction.actionPerformed(OpenAction.java:157)
wiser