[新手上路]批处理新手入门导读[视频教程]批处理基础视频教程[视频教程]VBS基础视频教程[批处理精品]批处理版照片整理器
[批处理精品]纯批处理备份&还原驱动[批处理精品]CMD命令50条不能说的秘密[在线下载]第三方命令行工具[在线帮助]VBScript / JScript 在线参考
返回列表 发帖

[文本处理] 如何把页面改为中文啊

jQuery191020107390898572075_1623890751508({"status":1,"err_code":0,"data":

{"hash":"0CB8C95918E1F9FF484DCD84CCE7C3E8","timelength":257317,"filesize":4117085,"audio_

name":"\u9676\u94b0\u7389 - \u4e0d\u662f\u56e0\u4e3a\u5bc2\u5bde\u624d\u60f3

\u4f60","have_album":1,"album_name":"\u6df1\u591c\u5730

\u4e0b\u94c1","album_id":"1596393","img":"http:\/\/imge.kugou.com\/stdmusic\/20200927

\/20200927175605911770.jpg",

=========================================

应该对应的中文是

陶钰玉 - 不是因为寂寞才想你
深夜地下铁

实现方法powershell或者python。
谢谢大家!

回复 2# went


谢谢,我去研究一下。

TOP

test.bat
  1. #&cls&@powershell -version 2.0 -c "Get-Content '%~0' | Select-Object -Skip 1 | Out-String | Invoke-Expression" & pause&exit
  2. $s = @"
  3. jQuery191020107390898572075_1623890751508({"status":1,"err_code":0,"data":
  4. {"hash":"0CB8C95918E1F9FF484DCD84CCE7C3E8","timelength":257317,"filesize":4117085,"audio_
  5. name":"\u9676\u94b0\u7389 - \u4e0d\u662f\u56e0\u4e3a\u5bc2\u5bde\u624d\u60f3
  6. \u4f60","have_album":1,"album_name":"\u6df1\u591c\u5730
  7. \u4e0b\u94c1","album_id":"1596393","img":"http:\/\/imge.kugou.com\/stdmusic\/20200927
  8. \/20200927175605911770.jpg",
  9. "@
  10. [System.Text.RegularExpressions.Regex]::Unescape($s)
复制代码

TOP

返回列表