-Mark
Dylan MacDonald wrote:
Hi -
I would like to store some multibyte content in an xml file and then retrieve and display that content using the JSTL XML taglib.
This works beautifully with extended characters like é, ß, etc. However the application chokes on Unicode or UTF-8 encoded XML files with the error "javax.servlet.jsp.JspException: Start of root element expected." I believe this is caused by the encoding adding extra characters to the beginning of the file (before <?xml version="1.0" encoding="UTF-8"?>). And, for what it's worth, multibyte characters come out as garbage when the XML file is encoded as ANSI.
Anyone have any ideas about how to store multibyte content in XML and then successfully output it to a JSP?
Thanks,
Dylan MacDonald Senior Web Designer GNX <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- Mark Diggory Software Developer Harvard MIT Data Center http://www.hmdc.harvard.edu
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]