use*_*982 3 c# string encoding decoding
如何检测此字符串的编码:
"http://sinapress.ir/resize/directory/مجامع علمی/1439280705853632083.jpg/263/171"
Run Code Online (Sandbox Code Playgroud)
原始字符串是:
"http://sinapress.ir/resize/directory/????? ????/1439280705853632083.jpg/263/171"
Run Code Online (Sandbox Code Playgroud)
以及如何在 c# 中将第一个字符串转换为第二个字符串?
您可以使用 HttpUtility.HtmlDecode
var urlToDecode = "http://sinapress.ir/resize/directory/مجامع علمی/1439280705853632083.jpg/263/171";
Console.WriteLine(HttpUtility.HtmlDecode(urlToDecode));
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
102 次 |
| 最近记录: |