Hi,
I'm developing a Custom Menu option that sends request data to another application using Powershell.
I'm wondering what encoding I should use when getting the content of the COMPLETE_V3_JSON_FILE-file. I have tried multiple options available in the powershell Get-Content cmdlet but none seems to fix the encoding errors I get on "swedish" characters (å. ä and ö).
For example, this line:
$reqContent = Get-Content -Path $reqPath -Encoding UTF8BOM
Gives this result when I fetch the "Description" field:
"description":"<div>Beskriv kortfattat syftet med mötet/vilken verksamhetsapplikation som omfattas. <br><\/div><div>
The ö character should be a ö.
I have tried the most common encoding options but none of them fixes these characters.