I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Unverified Commit d930f0a6 authored by zzz's avatar zzz
Browse files

Console: Set encoding for CSS

parent c1dc3c82
No related branches found
No related tags found
No related merge requests found
...@@ -101,6 +101,9 @@ public class LocaleWebAppHandler extends HandlerWrapper ...@@ -101,6 +101,9 @@ public class LocaleWebAppHandler extends HandlerWrapper
} else if (pathInContext.startsWith("/js/")) { } else if (pathInContext.startsWith("/js/")) {
// war internal // war internal
httpResponse.setCharacterEncoding("ISO-8859-1"); httpResponse.setCharacterEncoding("ISO-8859-1");
} else if (pathInContext.endsWith(".css")) {
// war internal
httpResponse.setCharacterEncoding("UTF-8");
} }
//System.err.println("New path: " + newPath); //System.err.println("New path: " + newPath);
super.handle(newPath, baseRequest, httpRequest, httpResponse); super.handle(newPath, baseRequest, httpRequest, httpResponse);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment