PowerShell
PowerShell
StringBuilder EntityDecode
Demonstrates the Chilkat StringBuilder EntityDecode method to decode HTML entities.Chilkat PowerShell Downloads
Add-Type -Path "C:\chilkat\ChilkatDotNet47-x64\ChilkatDotNet47.dll"
# Decode the following HTML entities, replacing each with the character represented.
$s = "é é é Latin small letter e with acute"
$sb = New-Object Chilkat.StringBuilder
$sb.Append($s)
$sb.EntityDecode()
# Output: é é é Latin small letter e with acute
$($sb.GetAsString())