I'm working on a JSP which reads an XML to present an exercise. The user has some fields to fill in, which will be compared to data from the XML file. Now, the problem is that the values in the XML contains characters like à
which is the à, but we do expect the user to fill in the à.
I've tried un-escaping and re-encoding and all, but I still haven't found the correct way to do this. Some people say just to write a function that re-encodes each letter, but the letter can be part of a word, so converting an entire answer letter per letter seems a bit overkill?
Anyone got any thoughts on this issue?