W3C home > Mailing lists > Public > www-validator-cvs@w3.org > June 2008

2006/unicorn/org/w3c/unicorn/output XMLOutputFormater.java,1.3,1.4

From: Florent Batard via cvs-syncmail <cvsmail@w3.org>
Date: Thu, 19 Jun 2008 11:15:56 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1K9I7Q-0000Rt-2U@lionel-hutz.w3.org>

Update of /sources/public/2006/unicorn/org/w3c/unicorn/output
In directory hutz:/tmp/cvs-serv1694/org/w3c/unicorn/output

Modified Files:
	XMLOutputFormater.java 
Log Message:
encoding correction for the templates generation


Index: XMLOutputFormater.java
===================================================================
RCS file: /sources/public/2006/unicorn/org/w3c/unicorn/output/XMLOutputFormater.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- XMLOutputFormater.java	17 Jun 2008 13:41:11 -0000	1.3
+++ XMLOutputFormater.java	19 Jun 2008 11:15:54 -0000	1.4
@@ -74,7 +74,7 @@
 		// check if sFileName exist
 		try {
 			this.aTemplateOutput = XMLOutputFormater.aVelocityEngineOutput
-					.getTemplate(sFileName);
+					.getTemplate(sFileName,"UTF-8");
 		} catch (final ResourceNotFoundException aRNFE) {
 			XMLOutputFormater.logger.warn("Resource " + sFileName
 					+ " not found.", aRNFE);
Received on Thursday, 19 June 2008 11:16:31 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 19 June 2008 11:16:31 GMT