PowerShell スクリプトにこのコードがありますが、特殊文字の部分ではうまくいきません。
$request = 'http://151.80.109.18:8082/vrageremote/v1/session/players'
$a = Invoke-WebRequest -ContentType "application/json; charset=utf-8" $request |
ConvertFrom-Json |
Select -expand Data |
Select -expand players |
Select displayName, factionTag | Out-file "$scriptPath\getFactionTag.txt"
私の出力ファイルでは、「????」しか得られません。特殊文字の場合。出力ファイルに特殊文字を表示する方法を知っている人はいますか?