[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: strange encoding problem
Hi Andreas, > PROBLEM: > > when i use tomcat, jsp and the jstl (java standard tag library) to apply the > transformation > > <%@ taglib prefix="x" uri="http://java.sun.com/jstl/xml" %> > <c:import url="test.xml" var="xml"/> > <c:import url="test.xsl" var="xsl"/> > <x:transform xml="${xml}" xslt="${xsl}"/> > > the result is ü > which is NOT correct in my opinion. When you say it's ü, do you mean that when you open up the result you actually see those entity references, or do you see the actual characters ü? I suspect it's the latter, in which case make sure that the text editor (or whatever) that you're using to look at the result of the transformation is reading in that result as UTF-8 rather than as ISO-8859-1. If the former, then something really weird's going on -- it looks as though the result is being serialised as UTF-8, then read as ISO-8859-1 and then serialised again using HTML entity references. Perhaps knowing that's what's going on will help you track down the bug... Cheers, Jeni --- Jeni Tennison http://www.jenitennison.com/ XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|