Sergey B. Hizof
Sergey B. Hizof

Reputation: 137

How decode string on PowerShell

I have file with string like this

\u0440\u043e

How I can decode this string on PowerShell?

Upvotes: 4

Views: 212

Answers (1)

Martin Brandl
Martin Brandl

Reputation: 58931

You can use the regex unescape function:

[regex]::Unescape("\u0440\u043e")

Output:

ро

Upvotes: 4

Related Questions