T
T
TechNOIR2019-06-10 09:42:34
PowerShell
TechNOIR, 2019-06-10 09:42:34

Powershell. How to correctly get Cyrillic in Invoke-RestMethod response?

Good afternoon.
When I make a request to the API via Invoke-RestMethod, I get a response with abbreviations instead of Cyrillic.
How can I correctly get Cyrillic in the Invoke-RestMethod response?
charset in headers didn't help...
Thanks in advance

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Andrew AT, 2019-06-11
@AAT666

Understood? .. Write a solution, pliz, if it's easy.

A
azarij, 2019-06-21
@azarij

show the contents of the $outputencoding built-in variable

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question