Mike McCandless http://blog.mikemccandless.com
On Wed, Sep 5, 2012 at 11:08 AM, Benson Margulies <[email protected]> wrote: > On Wed, Sep 5, 2012 at 10:32 AM, Michael McCandless > <[email protected]> wrote: >> I'm actually not sure which version we are using: we don't specify a >> <version> inside the <plugin> for maven-site-plugin in the pom.xml (am >> I looking at the right place?): > > > mvn help:effective-pom Aha, that's useful :) But alas forcing version=3.1 and adding the input/outputEncoding still remaps the characters as U+FFFD ... maybe I'm putting the configuration in the wrong place?: Index: src/site/apt/1.2/index.apt =================================================================== --- src/site/apt/1.2/index.apt (revision 1381198) +++ src/site/apt/1.2/index.apt (working copy) @@ -126,7 +126,7 @@ * Ingo Renner - * Jan H\u00F8ydahl + * Jan Høydahl * Jeremy Anderson Index: pom.xml =================================================================== --- pom.xml (revision 1381197) +++ pom.xml (working copy) @@ -71,9 +71,12 @@ <plugins> <plugin> <artifactId>maven-site-plugin</artifactId> + <version>3.1</version> <configuration> <templateDirectory>src/site</templateDirectory> <template>site.vm</template> + <inputEncoding>UTF-8</inputEncoding> + <outputEncoding>UTF-8</outputEncoding> </configuration> <executions> <execution> If you apply that, run "mvn clean site", and open target/site/1.2/index.html, you should see that it incorrectly mapped to "Jan H�ydahl". Mike McCandless http://blog.mikemccandless.com
