August 7th, 2000, 10:23 PM
Hi all,
i have a problem with UTF - 8 and UTF 16 encoding formats.
My problem is that
1) if i save the xml- file as unicode with encoding style as UTF-16 my application reports SAXParserException saying 'Document root element is missing"
2) if i save the xml file as a non-unicode format and specify encoding as UTF-16
application reports "Missing byte-order mark"
3) if i save the xml- file as unicode with encoding style as UTF-8 my application reports SAXParserException saying 'Document root element is missing"
Could someone tell me what's happening or how i could solve this
thanks in advance
shreya
i have a problem with UTF - 8 and UTF 16 encoding formats.
My problem is that
1) if i save the xml- file as unicode with encoding style as UTF-16 my application reports SAXParserException saying 'Document root element is missing"
2) if i save the xml file as a non-unicode format and specify encoding as UTF-16
application reports "Missing byte-order mark"
3) if i save the xml- file as unicode with encoding style as UTF-8 my application reports SAXParserException saying 'Document root element is missing"
Could someone tell me what's happening or how i could solve this
thanks in advance
shreya