I am trying to display an xml file on the web using JSTL xml tags. The file is encoded in utf-8 containing ancient Greek characters (x1f92, etc.). The file displays properly from a servlet + xslt (http://184.108.40.206/testapp), but I want to use JSTL.
The JSTL produces intricate spaghetti on the screen (e.g. �������������� ). I have seen this before --it would seem that unicode is indeed being directed at the screen but is not being interpreted properly. (Not strings of question marks mind you; the unicode seems to be there in this case).
The code producing the spaghetti is below. I am just dumping in on the screen for now and will use xpath calls later for more precise extraction.
Does the JSTL want character entities for the x arse call? I would not think so: parsing a utf-8 file would be a very common operation. How can I get the xml unicode file to display properly using the JSTL below?