none
PowerShell to manage UTF-8 in sting variables RRS feed

  • Question

  • I have script where the simplest thing makes me crazy

    $FixText = 'Französisches Benutzerhandbuch für Release'
    Write-Host "Fix text" $FixText 

    the result is:

    Französisches Benutzerhandbuch für Release
    How to force PowerShell to store sting inside $FixText as UTF8 ?

    because then I use this value as a part of JSON, and backend system fail to process it


    • Edited by AKovov Thursday, November 19, 2020 12:32 PM
    Thursday, November 19, 2020 12:32 PM

All replies