I receive result on API JSON. But Russian letters are displayed as question marks. Any ideas, comrades? thanks in advance
What I run:
$url2 = "http://********/rooms?limit=3&access_token=******" $rres = Invoke-WebRequest -Method GET -Uri $url2 -ContentType "application/json;charset=utf-8" | ConvertFrom-Json $Lmres = $rres.chunk Write-Host $Lmres[0].Content I receive:
@{body=???? ??????) ; msgtype=m.text} @{body=??????????????; msgtype=m.text} @{body=??????????; msgtype=m.text} The coding of the request to json changed to win-1251, nothing has changed.