Project

General

Profile

« Previous | Next » 

Revision 38159

adding missed UTF-8 encoding for velocity, transformers, IOUtils

View differences:

SearchRegistry.java
145 145
	private Transformer createTransformer(String transformerName, Locale locale, List<XPathTrasformation> transformations) throws Exception {
146 146
		VelocityEngine ve = VelocityUtil.getEngine();
147 147
		
148
		Template t = ve.getTemplate("/eu/dnetlib/data/search/transform/config/velocity.vm");
148
		Template t = ve.getTemplate("/eu/dnetlib/data/search/transform/config/velocity.vm", "UTF-8");
149 149
		VelocityContext context = new VelocityContext();
150 150
		
151 151
		context.put("locale", locale);

Also available in: Unified diff