diff --git a/apps/routerconsole/java/src/net/i2p/router/web/ConfigLoggingHelper.java b/apps/routerconsole/java/src/net/i2p/router/web/ConfigLoggingHelper.java index f316e7dc65a1d7911434092284c9aadf2e34bb5e..7bd4e454627bc5fa25ecd1934f42460f353b8120 100644 --- a/apps/routerconsole/java/src/net/i2p/router/web/ConfigLoggingHelper.java +++ b/apps/routerconsole/java/src/net/i2p/router/web/ConfigLoggingHelper.java @@ -25,7 +25,8 @@ public class ConfigLoggingHelper extends HelperBase { int bytes = _context.logManager().getFileSize(); if (bytes <= 0) return "1.00 MB"; // " " comes back in the POST as 0xc2 0xa0 - // which is not recognized as whitespace and who knows why + // non-breaking space is U+00A0 which is 0xc2 0xa0 in UTF-8. + // we could figure out where the UTF-8 problem is but why bother. return DataHelper.formatSize2(bytes).replace(" ", " ") + 'B'; } public String getLogLevelTable() {