Author: ggregory Date: Sun Jul 7 06:40:20 2013 New Revision: 1500373 URL: http://svn.apache.org/r1500373 Log: Add encoding to XML PI.
Modified: logging/log4j/log4j2/trunk/src/site/xdoc/manual/layouts.xml.vm Modified: logging/log4j/log4j2/trunk/src/site/xdoc/manual/layouts.xml.vm URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/src/site/xdoc/manual/layouts.xml.vm?rev=1500373&r1=1500372&r2=1500373&view=diff ============================================================================== --- logging/log4j/log4j2/trunk/src/site/xdoc/manual/layouts.xml.vm (original) +++ logging/log4j/log4j2/trunk/src/site/xdoc/manual/layouts.xml.vm Sun Jul 7 06:40:20 2013 @@ -1159,7 +1159,7 @@ at org.apache.logging.log4j.core.pattern <p>For example, if <code>abc</code> is the name of the file where the XMLLayout output goes, then a well-formed XML file would be: </p> - <pre class="prettyprint linenums"><?xml version="1.0" ?> + <pre class="prettyprint linenums"><?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE log4j:eventSet SYSTEM "log4j.dtd" [<!ENTITY data SYSTEM "abc">]> <log4j:eventSet version="2.0" xmlns:log4j="http://logging.apache.org/log4j/">