lib/scripts/recode.pl
author wenzelm
Fri, 09 Oct 2015 20:26:03 +0200
changeset 61378 3e04c9ca001a
parent 52835 0906c00bb21d
child 62506 860cd901ab43
permissions -rw-r--r--
discontinued specific HTML syntax;

#
# Author: Makarius
#
# recode.pl - recode utf8 for ML
#

for (@ARGV) {
  utf8::upgrade($_);
  s/([\x80-\xff])/\\${\(ord($1))}/g;
  print $_, " ";
}