Java后台获取前端utf-8格式 ;空格,使用trim()消除不了的解决办法
摘要:```
byte bytes[] = {(byte) 0xC2,(byte) 0xA0};
String UTFSpace = new String(bytes,"utf-8");
html = html.replaceAll(UTFSpace, "");
```
阅读全文
posted @ 2018-03-24 10:49
posted @ 2018-03-24 10:49
posted @ 2017-07-26 09:10
posted @ 2017-07-26 09:00
posted @ 2017-07-26 08:55