Powershell ConvertFrom-Json 希伯来语 --> 问号

Powershell ConvertFrom-Json Hebrew --> Question marks

我正在尝试从 Json 转换 Powershell 变量,但我得到的是问号而不是希伯来语。

据我所知,ConvertFrom-Json 没有编码参数,我知道如何通过希伯来语吗?

看看这个词:מחילמ

PS D:\wa2> $BotUpdates


StatusCode        : 200
StatusDescription : OK
Content           : {"succes":true,"response":[{"key":{"remoteJid":"","fromMe":false,"id":"","participant":""},"message":{"conversation":"***מחילמ***"},...
RawContent        : HTTP/1.1 200 OK
                    Connection: keep-alive
                    Keep-Alive: timeout=5
                    Content-Length: 308
                    Content-Type: application/json; charset=utf-8
                    Date: Thu, 24 Dec 2020 13:35:35 GMT
                    ETag: W/"134-v3U3d/6PCvlXMASgH7...
Forms             : {}
Headers           : {[Connection, keep-alive], [Keep-Alive, timeout=5], [Content-Length, 308], [Content-Type, application/json; charset=utf-8]...}
Images            : {}
InputFields       : {}
Links             : {}
ParsedHtml        : mshtml.HTMLDocumentClass
RawContentLength  : 308

从 Json

转换后
PS D:\wa2> ($BotUpdates | ConvertFrom-Json).response

key                                                                                                                      message                    messageTimestamp participant                
---                                                                                                                      -------                    ---------------- -----------                
@{remoteJid=18XXXXXX; fromMe=False; id=3AXXXXXX67A1; participant=9} @{conversation=??????????} 1608816932       



PS D:\wa2>

看看@{对话=????????????}

有什么想法吗?

好吧,我想更新一下我通过转换解决了它

($BotUpdates.content | ConvertFrom-Json).response

而不是

($BotUpdates | ConvertFrom-Json).response