Use complete content type with encoding.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Thu, 19 Apr 2012 07:30:03 +0000 (09:30 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Thu, 19 Apr 2012 07:30:03 +0000 (09:30 +0200)
src/main/java/net/pterodactylus/demoscenemusic/page/BasePage.java

index 2e5462a..5990c4f 100644 (file)
@@ -38,7 +38,7 @@ public class BasePage extends TemplatePage<ServletRequest> {
         * @param template
         */
        public BasePage(Core core, TemplateContextFactory templateContextFactory, Template template, String pageName) {
-               super(pageName, "text/html", templateContextFactory, template);
+               super(pageName, "text/html; charset=utf-8", templateContextFactory, template);
                this.core = core;
        }