maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marian Flor (JIRA)" <>
Subject [jira] Commented: (MSITE-19) Various encoding problems with InputStream and XML
Date Mon, 21 Aug 2006 09:56:51 GMT
    [ ] 
Marian Flor commented on MSITE-19:

This is a follow-up to Michael Schnake's explanation:

Here's how I got the most german umlauts (may be in general applied to other languages):
Running Maven 2.0.4 (bin), with maven-project-info-reports-plugin-2.0.1.jar and maven-site-plugin-2.0-beta-5.jar.

- Default Eclipse-IDE/OS Encoding is UTF-8.
- Edited the according to Michaels instructions (this is the ugly part since
it will break the umlauts whenever a new version of the plugin is propagated) and repacked
(ISO-8859-1 encoded Prop-Files) the jars in the local repository.
- Plugin-Configuration (pom.xml):
- set MAVEN_OPTS=-Dfile.encoding=UTF-8
- pom.xml, site.xml are UTF-8 encoded.
- *.apt-Files are ISO-8859-1 encoded.
- faq.fml (UTF-8 or ISO-8859-1 does not matter)

Navigation (site.xml): ok, Copyright and team-list (pom.xml): ok, Content (*.apt): ok, FAQ
(*.fml): broken umlauts. Thus I get 3 from 4 :-).

The FAQ Umlauts are broken with either encoding. My workaround is to use ASCII in *.fml-Documents.
The "FAQ-Umlauts" does not bother me that much, but if someone has an explanation/fix for
this it will be greatly appreciated.


> Various encoding problems with InputStream and XML
> --------------------------------------------------
>                 Key: MSITE-19
>                 URL:
>             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,
> 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:
For more information on JIRA, see:


View raw message