diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/com/jogamp/hungryharry/FeedAggregator.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/com/jogamp/hungryharry/FeedAggregator.java b/src/main/java/com/jogamp/hungryharry/FeedAggregator.java index 555f615..eeb52f9 100644 --- a/src/main/java/com/jogamp/hungryharry/FeedAggregator.java +++ b/src/main/java/com/jogamp/hungryharry/FeedAggregator.java @@ -152,6 +152,7 @@ public class FeedAggregator { // Specify how templates will see the data-model. This is an advanced topic... // but just use this: cfg.setObjectWrapper(ObjectWrapper.DEFAULT_WRAPPER); + cfg.setDefaultEncoding("UTF8"); Template template = cfg.getTemplate(templateName); Writer writer = new FileWriter(new File(planet.outputFolder + separator + "planet.html")); |