You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Dennis Lundberg (JIRA)" <ji...@codehaus.org> on 2010/02/10 20:31:55 UTC
[jira] Commented: (MCHANGES-197) Parameter for output encoding
[ http://jira.codehaus.org/browse/MCHANGES-197?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=209689#action_209689 ]
Dennis Lundberg commented on MCHANGES-197:
------------------------------------------
Encoding during site generation is tricky, as there are many parameters to take into account.
When you run "changes:changes-report" the plugin will use a default skin, whereas when you run "site:site" it will use the skin specified in the site.xml.
The *charset* that is specified in the html output comes from the skin. The *encoding* of the pages generated by the Site Plugin is configurable by the parameters that you are already using.
Why do you need an outputEncoding parameter for the Changes Plugin?
> Parameter for output encoding
> -----------------------------
>
> Key: MCHANGES-197
> URL: http://jira.codehaus.org/browse/MCHANGES-197
> Project: Maven 2.x Changes Plugin
> Issue Type: New Feature
> Components: changes-report
> Affects Versions: 2.1, 2.3
> Environment: Win XP, JDK 1.6.0_18, Maven 2.2.1
> Reporter: Bruno Marti
>
> Add an additional parameter to define the output encoding like in site-plugin.
> _<outputEncoding></outputEncoding>_
> If I generate the changes-report by changes:changes-report, I get this in the html output:
> {code:xml}
> <html xmlns="http://www.w3.org/1999/xhtml">
> <head>
> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
> ...
> {code}
> If I generate the same changes-report by site:site, I get this:
> {code:xml}
> <html xmlns="http://www.w3.org/1999/xhtml">
> <head>
> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
> {code}
> Whereas, here I've defined
> _<outputEncoding>ISO-8859-1</outputEncoding>_
> and as default in the parent pom
> _<project.reporting.outputEncoding>ISO-8859-1</project.reporting.outputEncoding>_
--
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