[ http://jira.codehaus.org/browse/MPXDOC-195?page=comments#action_64441 ] 

Lance Bader commented on MPXDOC-195:
------------------------------------

Since I opened the issue I copied the same archive to a workstation using the 
Sun JDK V1.5 Update 6 and recreated the same problem.  I think this means that 
it is unlikely that the IBM JDK is causing the problem.

I have also modified the velocity-1.4.jar file in the 
.maven\repository\velocity\jars directory.  I replaced 
org\apache\velocity\runtime\defaults\velocity.properties after making the 
following changes.


#----------------------------------------------------------------------------
# T E M P L A T E  E N C O D I N G
#----------------------------------------------------------------------------

input.encoding=UTF-8
output.encoding=UTF-8

I recreated the problem after making this change.  I like to think that the 
problem is in velocity, but this change did not affect the outcome.

Next I will move to Red Hat Linux and try the suggested work around there.

Lance


> xDoc plugin scrambles UTF-8 source files when generating UTF-8 HTML 
> --------------------------------------------------------------------
>
>          Key: MPXDOC-195
>          URL: http://jira.codehaus.org/browse/MPXDOC-195
>      Project: maven-xdoc-plugin
>         Type: Bug

>     Versions: 1.9.2
>  Environment: Maven 1.1-beta-2 and maven-xdoc-plugin-1.9.2 on a Windows XP 
> workstation with IBM Java SDK V1.4.2
>     Reporter: Lance Bader
>  Attachments: UTF8EncodingProblem.zip
>
>
> When I attempt to build UTF-8 encoded HTML from UTF-8 XML source files, every 
> special character is scrambled.
> We are using the xDoc plugin to generate the HTML for our on-line user guide. 
>  We sent the English source files and the default properties file to 9 
> translation centers.  The translators returned valid UTF-8 source, but xDoc 
> will not generate valid UTF-8 HTML.
> I have attached a very small subset of our product that demonstrates this 
> problem.  See the README.txt file within the ZIP archive for information 
> about how to use the supplied scripts to build the output for German, 
> English, French, and Traditional Chinese and view the result.

-- 
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