[ http://jira.codehaus.org/browse/MNG-722?page=comments#action_44485 ] 

Incze Lajos commented on MNG-722:
---------------------------------

You are not alone. No, at the moment it works with UTF-8, but not e.g. with 
ISO-8859-1.

I have a pom.xml. It is an UTF-8 xml file with accented characters. If I set 
the new outputEncoding
conf parameter, now I have a well rendered team list with UTF-8 output. But if 
I set outputEncoding
to ISO-8859-1, I'm given the same garbage az at the start.

The problem, I think, is with the above mentioned velocity properties (namely, 
output.encoding, the
input.encoding doesn't matter, as the maven-site.vm is pure ascii). The 
outputEncoding param is
rendered only into the output xhtml, regardless of the output.encoding velocity 
parameter (which
seems to be UTF-8 for some reason, I don't know, it is hard to find where it is 
set). So, before
merging the template this parameter should be set for velocity.

> maven-site-plugin maven-site.vm contains wired encoding
> -------------------------------------------------------
>
>          Key: MNG-722
>          URL: http://jira.codehaus.org/browse/MNG-722
>      Project: Maven 2
>         Type: Bug
>   Components: maven-plugins
>     Versions: 2.0-beta-1
>  Environment: all
>     Reporter: Incze Lajos
>     Assignee: Vincent Siveton

>
>
> maven-site-plugin maven-site.vm contains wired encoding:
> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
> It probably needs a conf. parameter and changed to
> <meta http-equiv="Content-Type" content="text/html; charset=$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


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to