[ http://jira.codehaus.org/browse/MSITE-19?page=comments#action_75188 ] 
            
Darius commented on MSITE-19:
-----------------------------

When using site:run DoxiaFilter does not set any output encoding.
I think it should call servletResponse.setCharacterEncoding() or 
servletResponse.setContentType()
with output encoding that is specified in pom.xml before caling 
servletResponse.getWriter().

Maven 2.0.4 (bin) with maven-site-plugin-2.0-beta-5.jar.
My apt files are utf-8 and I get correct html files, but in preview mode 
(site:run) I see "?"s.

Darius

> Various encoding problems with InputStream and XML
> --------------------------------------------------
>
>                 Key: MSITE-19
>                 URL: http://jira.codehaus.org/browse/MSITE-19
>             Project: Maven 2.x Site Plugin
>          Issue Type: Bug
>            Reporter: Naoki Nose
>             Fix For: 2.0
>
>         Attachments: plexus-i18n.diff, plexus-site-renderer.diff, 
> plexus-utils.diff, plexus-utils_2.diff, project-info-report_ja.properties, 
> project-info-report_zh_CN.properties, project-info-report_zh_CN.properties, 
> site-plugin_ja.properties, site-plugin_zh_CN.properties
>
>
> There is various encoding problems with InputStream and XML in different 
> components.
> - Property resource file is encoded with UTF-8 , but Java reads bundle with 
> UTF-8.
> - In different components Reader is constructed with default system encoding.
> - MXParser ignores encoding attribute in xml declaration.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to