[英]Android display human readable string
I have the following string: Don%E2%80%99t%20Have%20a%20Login?
我有以下
string: Don%E2%80%99t%20Have%20a%20Login?
how to convert it to human readable format?如何将其转换为人类可读的格式?
If you want it in String,如果你想要它在字符串中,
String result = java.net.URLDecoder.decode(url, "UTF-8");
If you want it in text form then如果你想要它的文本形式,那么
It's simple.这很简单。
-> Paste your string and select all text. -> 粘贴您的字符串并选择所有文本。
-> Go to Plugins . -> 转到插件。
-> Go to MIME Tools -> 转到MIME 工具
-> Click URL Decode -> 点击URL 解码
Simple :-)简单:-)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.