lib/scripts/recode.pl
author haftmann
Sat, 01 Mar 2014 17:08:39 +0100
changeset 55818 d8b2f50705d0
parent 52835 0906c00bb21d
child 62506 860cd901ab43
permissions -rw-r--r--
more precise imports; avoid duplicated simp rules in fact collections; dropped redundancy

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

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