Console: Set encoding for CSS

This commit is contained in:
zzz
2022-01-25 09:40:02 -05:00
parent c1dc3c8275
commit d930f0a64a

View File

@@ -101,6 +101,9 @@ public class LocaleWebAppHandler extends HandlerWrapper
} else if (pathInContext.startsWith("/js/")) {
// war internal
httpResponse.setCharacterEncoding("ISO-8859-1");
} else if (pathInContext.endsWith(".css")) {
// war internal
httpResponse.setCharacterEncoding("UTF-8");
}
//System.err.println("New path: " + newPath);
super.handle(newPath, baseRequest, httpRequest, httpResponse);