title: Velocity templates seem to fail with UTF-8
body: <p>I have been trying to use a velocity Template with the following content:</p>
  
  <p><code>Sübjäct $item</code></p>
  
  <p>Everything works fine except the translation of the two Unicode characters. The result string printed on the command line looks like:</p>
  
  <p><code>SÃ¼bjÃ¤ct foo</code></p>
  
  <p>I searched the velocity website and the web for this issue, and came up with different font encoding options, which I added to my code. But these don't help. This is the actual code:</p>
  
  <pre><code>velocity.setProperty("file.resource.loader.path", absPath);
  velocity.setProperty("input.encoding", "UTF-8");
  velocity.setProperty("output.encoding", "UTF-8");
  
  Template t = velocity.getTemplate("subject.vm");
  t.setEncoding("UTF-8");
  
  StringWriter sw = new StringWriter();
  
  t.merge(null, sw);       
  System.out.println(sw.getBuffer());
  </code></pre>
  
  <p>How an I fix this issue?</p>