- or download this
¡ ¡ ¡ \a161 Inverted exclamation
¢ ¢ ¢ \a162 Cent sign
...
:
œ œ œ \a156 Small combined oe
Ÿ Ÿ Ÿ \a159 Large Y with diaeresis
- or download this
perl -i.bak -pe '\
binmode STDIN,":utf8"; \
...
if (/^([^[:ascii:]])/) { \
$_= sprintf("%04x",ord $1).$_ \
}' pml.txt
- or download this
00c2¡ ¡ ¡ \a161 Inverted exclamation
00c2¢ ¢ ¢ \a162 Cent sign
00c2£ £ £ \a163 Pound sign
- or download this
perl -i.bar -CDS -pe ' \
if (/^([^[:ascii:]])/) { \
$_= sprintf("%04x",ord $1).$_ \
}' pml.txt