Changeset ba4f660


Ignore:
Timestamp:
Oct 31, 2010 2:52:21 PM (9 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
2f54ec6
Parents:
07aa0798
Message:

update nbsp comment

File:
1 edited

Legend:

Unmodified
Added
Removed
  • apps/routerconsole/java/src/net/i2p/router/web/ConfigLoggingHelper.java

    r07aa0798 rba4f660  
    2626        if (bytes <= 0) return "1.00 MB";
    2727        // "&nbsp;" comes back in the POST as 0xc2 0xa0
    28         // which is not recognized as whitespace and who knows why
     28        // non-breaking space is U+00A0 which is 0xc2 0xa0 in UTF-8.
     29        // we could figure out where the UTF-8 problem is but why bother.
    2930        return DataHelper.formatSize2(bytes).replace("&nbsp;", " ") + 'B';
    3031    }
Note: See TracChangeset for help on using the changeset viewer.