Hi all:
I got the java.io.UTFDataFormatException: Invalid byte 2 of 2-byte UTF-8 sequence while running my app.
my app would in- take an input xml file and then generate help files out of the xml file
now what i have been doing is copy and paste the help content from a
WORD file into the xml file, not a GOOD idea i know..
so i am thinking that is why i got the java.io.UTFDataFormatException: Invalid byte 2 of 2-byte UTF-8 error...because by default the XML parser accepts UTF-8 formatting.
I am just wondering if i am copy and paste from
word, is there an XML editor outthere that would get rid of the illegal chars from WORD for me automatically?
Please let me know..
Many thanks