With Free `recode` (formerly known as GNU `recode`):
recode html < file
If you don't have `recode` or `HTML::Entities` and only need to decode `
perl -Mopen=locale -pe 's/([\da-f]+);/chr hex $1/gie'
With Free `recode` (formerly known as GNU `recode`):
recode html < file
If you don't have `recode` or `HTML::Entities` and only need to decode `
perl -Mopen=locale -pe 's/([\da-f]+);/chr hex $1/gie'