[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: 16-bit chars rendered as "?" in UTF-8?
On 14/08/2012 14:35, Wolfgang Laun wrote:
If changing the file's encoding specification fixed the problem you must have some byte sequences representing codepoints in UTF-8, possibly besides others represented as entities.
I have added "response.setEncoding("UTF-8")" to all my servlets and the problem has gone away; I've also added a debug message to my XSLT filter to display the encoding. (Oddly enough, my error handling servlet still says ISO-8859-1 despite setting the encoding.) I hate it when something fixes a problem and I don't understand what the original problem was or why the fix worked! -- John English
|
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
|