Skip to content

Commit

Permalink
always use UTF-8 in reading templates and rendering template
Browse files Browse the repository at this point in the history
  • Loading branch information
lhotari committed Mar 3, 2015
1 parent eb53e69 commit 287d885
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ class RenderStep extends AbstractStep {
if(!templateFile) {
throw new IOException("cannot find template " + parameters.template)
}
destination.text = new SimpleTemplate(templateFile.text).render(variables)
destination.setText(new SimpleTemplate(templateFile.getText("UTF-8")).render(variables), "UTF-8")
ClassNameCompleter.refreshAll()
}

Expand Down

0 comments on commit 287d885

Please sign in to comment.