Vik*_*kas 0 java android html-encode
我有html文本,我想在webview中显示.
作为规范,数据必须进行URI转义.所以我尝试使用URLEncoder.encode()函数,但这对我没用,因为它用加号转换空格.
那么有可用的编码功能吗?
twi*_*wig 9
我知道这已经有几个月了,但是TextUtils.htmlEncode()是一个很好的小方法.
归档时间:
14 年,7 月 前
查看次数:
5288 次
最近记录:
12 年,7 月 前