lib/scripts/recode.pl
author blanchet
Thu, 07 Aug 2014 12:17:41 +0200
changeset 57810 2479dc4ef90b
parent 52835 0906c00bb21d
child 62506 860cd901ab43
permissions -rw-r--r--
test driver

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

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