forked from I2P_Developers/i2p.i2p
Console: Set encoding for CSS
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user