Response XML does not display accented characters

2

I'm wearing Jersey in a WEB application. In this application, I return an XML file to client requests (which are web-browsers). In order to ensure the display of accented characters, I wrote the Produces annotation as follows:

@Produces("text/xml ; charset=UTF-8")

And, in fact, in response XML, the definition of charset as UTF-8 reads in its header. The problem is that even then the browser can not display these special characters, and some bizarre things appear in place. I suspect the problem is in the browser itself, but I have no idea what to do about it.

Thanks for any help!

    
asked by anonymous 26.08.2015 / 21:24

0 answers