Description
<plugin> <artifactId>maven-site-plugin</artifactId> <version>2.1</version> <configuration> <locales>zh_CN</locales> <inputEncoding>UTF-8</inputEncoding> <outputEncoding>UTF-8</outputEncoding> </configuration> </plugin>
my sample apt file:
%{snippet|file=target/site/reference/html/sample.html|verbatim=false}
sample.html:
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"><head><title>中文</title></head><body></body></html>
org.apache.maven.doxia.macro.snippet.SnippetReader
readLines:
reader = new BufferedReader(new InputStreamReader(source.openStream()));
use InputStreamReader(InputStream in)
change to:
InputStreamReader(InputStream in, Charset cs)
Attachments
Attachments
Issue Links
- relates to
-
MSKINS-85 Unify breadcrumb chevron of Fluido with other skins
- Closed