Hi Alain, Thanks for digging into this, though I'm not exactly sure (from your second para) what the fix is.
Could you (a) raise a JIRA for this issue [1] and then (b) attach a patch so that we can apply and test it? Also, do you happen to know if other viewers (Wicket or Scimpi) exhibit this problem? With most developers on Isis being Europe based, it does mean we aren't particularly adept at picking up these sorts of issues. Thx Dan On 16 October 2012 01:56, 张峰昌 <[email protected]> wrote: > Hi Dan: > > > > It seems that there is bug in Html Viewer about encoding. I have found the > encoding configuration can work when I change it into UTF-8.( > isis.viewer.html.encoding=UTF-8) > > While it works well when I have set the encoding for the response object in > the processRequest method of the > framework\viewer\html\src\main\java\org\apache\isis\viewer\html\servlet\ > ControllerServlet.java after line 123 > (response.setContentType("text/html");) > > > > > > Alain > > > > 张峰昌 > > 电话:18930623939 > > 欲知诸法实相,当习般若波罗蜜 > > > >
