my ejb xml descriptors have "<?xml version="1.0" encoding="UTF-8"?>" in the header. i have set the default encoding to UTF-8 in IDE settings and enabled the option "files detected as encoded in UTF-family of encodings automatically load in UTF", i saved the file and expects the file to be written to the specfied character set. but when i used the plugin "ShowEncodingPlugin" written by Mr. Guillame Laforge, it says the char encoding is still "US-ASCII". how does it work? im not sure myself. wasnt it supposed to be "UTF-8" now?
im doing this because JBOSS is always throwing the following exception everytime i try to deploy my EJBs :
17:07:54,289 ERROR Document root element is missing.:-1:1
org.xml.sax.SAXParseException: Document root element is missing.
anyone familiar with this issue? i have checked the byte order mark and its 0xFF 0xFE (was it the correct BOM?)
im using JBOSS 3.0.x