お試しでスクリプトに
Set-Content -Path $iniPath -Value $updatedContent -Encoding UTF8
を使ったら書き込みボタンがこうなった
https://imgur.com/WUc38Dl.png
やっぱりdefaultでいいんだよ