标签列表
如何在PowerShell中解码字符串
powershell
utf
4
4
我有一个包含如下字符串的文件
\u0440\u043e
我该如何在PowerShell中解码这个字符串?
-
Sergey B. Hizof
1
个回答
4
4
你可以使用正则表达式反转义函数
regex unescape
:
[regex]
::Unescape("\u0440\u043e")
输出:
ро
-
Martin Brandl
回答链接
网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接
相关问题
22
如何在PowerShell字符串中转义双引号?
26
如何在PowerShell中使用变量连接字符串?
35
PowerShell - Get-Credential 解码密码?
12
如何在Powershell中替换文本字符串?
3
如何在PowerShell循环中连接字符串?
18
如何在PowerShell函数中进行字符串替换?
217
PowerShell:如何在PowerShell中将数组对象转换为字符串?
4
如何在Powershell中将字符串保存为原始数据?
932
如何在PowerShell中连接字符串和变量?
4
如何在Python中解码此字符串?