I apologize in advance if this has been discussed already ...
I have had an issue where umlauts and the such are displayed properly when first displayed, and then replaced by a '?' after the AjaxUpdateContainer refreshes the div ...
When I decided it was time to figure out that issue, I traced it to the fact that AjaxUtils.java's version of createResponse() sets the content-type to 'text/plain' ...
... so as not to break any other code, I decided to hack the AjaxUpdateContainer's handleRequest function instead ... because AjaxUtils version is used throughout the framework (and in my own code as well) ...
right after the response object is created, I added this line ... (line ~145)
response.setHeader("text/html; charset=utf-8", "content-type"); and now everything work just fine ...
I submitted a bug report on the project wonder source forge page, but some of the bugs go back to 2002 ... so I wasn't sure if anyone looked at that list anymore ...
Anyone else have a better fix or know how to avoid the issue altogether?
- Peter Pritchard
|