diff --git a/src/de/tudbut/tryumph/example/FileServer.java b/src/de/tudbut/tryumph/example/FileServer.java index 640d2c5..e292b7b 100644 --- a/src/de/tudbut/tryumph/example/FileServer.java +++ b/src/de/tudbut/tryumph/example/FileServer.java @@ -62,7 +62,7 @@ public class FileServer implements IRequestCatcher, RequestHandler.Listener { if(new File(s + "/index.html").exists()) s += "/index.html"; if(!s.endsWith(".html") && !s.endsWith(".htm") && !(new File(s).isDirectory())) { - r = request.context.file(s, data.getBoolean("autoindex") ? request.realPath : null); + r = request.context.fileUTF(s, data.getBoolean("autoindex") ? request.realPath : null); r = "
" + r.replace("<", "<").replace(">", ">") + ""; } else