Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Not A Bug
-
Affects Version/s: 2.1
-
Fix Version/s: None
-
Component/s: changes.xml
-
Labels:None
-
Environment:Windows XP, Maven 2.09
-
Number of attachments :2
Description
Neither property <project.reporting.outputEncoding>ISO-8859-1</project.reporting.outputEncoding>
nor <maven.docs.outputencoding>ISO-8859-1</maven.docs.outputencoding> is accepted for report generation (changes:changes-report).
German characters like 'äöü' are misinterpreted.
-
Hide
- changes-report.zip
- 08/Mar/09 2:42 PM
- 22 kB
- Bruno Marti
-
- changes-report/pom.xml 1 kB
- changes-report/src/site/changes.xml 1 kB
- changes-report/.../changes-report.html 4 kB
- changes-report/target/.../css/maven-base.css 2 kB
- changes-report/target/.../maven-theme.css 3 kB
- changes-report/target/site/css/print.css 0.2 kB
- changes-report/target/site/css/site.css 0.0 kB
- changes-report/target/.../images/add.gif 0.2 kB
- changes-report/target/.../collapsed.gif 0.1 kB
- changes-report/target/.../expanded.gif 0.1 kB
- changes-report/target/.../external.png 0.2 kB
- changes-report/target/.../images/fix.gif 0.2 kB
- changes-report/target/.../icon_error_sml.gif 1.0 kB
- changes-report/target/.../icon_help_sml.gif 1.0 kB
- changes-report/target/.../icon_info_sml.gif 0.6 kB
- changes-report/.../icon_success_sml.gif 1.0 kB
- changes-report/.../icon_warning_sml.gif 0.6 kB
- changes-report/.../build-by-maven-black.png 2 kB
- changes-report/.../build-by-maven-white.png 2 kB
- changes-report/target/.../maven-feather.png 3 kB
- changes-report/target/.../newwindow.png 0.2 kB
- changes-report/target/.../images/remove.gif 0.2 kB
- changes-report/target/.../images/rss.png 0.2 kB
- changes-report/target/.../images/update.gif 0.2 kB
-
- screenshot-1.jpg
- 63 kB
- 08/Mar/09 2:40 PM
Activity
see entry in Release 1.0.0 comment. Characters should be 'äöü ÄÖÜ'
a littler demo project to regenerate the bug.
useage:
mvn changes:changes-report
The problem here is actually the charset speciied in the generated html file. It looks like this:
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
This is a hint to the browser that the contents of this file is encoded in UTF-8, which it is not. If you manually change the view encoding in your browser to "ISO-8859-1" the characters are displayed correctly.
So you'd need to use a skin that specifies the same encoding that your changes.xml file uses.
I changed site.xml and changes.xml to
<?xml version="1.0" encoding="ISO-8859-1"?>
Problem has gone away.
This issue can be closed
A demo poject would be nice. There are various components involved in site generation and from the few bits you gave it's hard to tell whether the problem is really the Changes Plugin, the Site Plugin or just a misconfiguration in your POM.