You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by "Alain.Zhang (JIRA)" <ji...@apache.org> on 2012/10/17 09:48:06 UTC

[jira] [Created] (ISIS-275) html viewer encoding

Alain.Zhang created ISIS-275:
--------------------------------

             Summary: html viewer encoding
                 Key: ISIS-275
                 URL: https://issues.apache.org/jira/browse/ISIS-275
             Project: Isis
          Issue Type: Bug
          Components: Viewer: HTML
    Affects Versions: 0.2.0-incubating, 0.3.1-incubating
         Environment: win7,thinkpad t420i,language Simplified Chinese
            Reporter: Alain.Zhang
            Priority: Minor


It seems that there is bug in Html Viewer about encoding.The encoding configuration can not work when I changed it into UTF-8.( isis.viewer.html.encoding=UTF-8). Html Viewer will display ??? where the content is chinese character.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (ISIS-275) html viewer encoding

Posted by "Alain.Zhang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ISIS-275?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alain.Zhang updated ISIS-275:
-----------------------------

    Attachment: ControllerServlet.java

Setting http response character encoding in processRequest method will fix the bug. The added one line code at Line125 in ControllerServlet.
                
> html viewer encoding
> --------------------
>
>                 Key: ISIS-275
>                 URL: https://issues.apache.org/jira/browse/ISIS-275
>             Project: Isis
>          Issue Type: Bug
>          Components: Viewer: HTML
>    Affects Versions: 0.2.0-incubating, 0.3.1-incubating
>         Environment: win7,thinkpad t420i,language Simplified Chinese
>            Reporter: Alain.Zhang
>            Priority: Minor
>         Attachments: ControllerServlet.java
>
>
> It seems that there is bug in Html Viewer about encoding.The encoding configuration can not work when I changed it into UTF-8.( isis.viewer.html.encoding=UTF-8). Html Viewer will display ??? where the content is chinese character.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira