lib/scripts/recode.pl
author wenzelm
Wed, 30 Sep 2015 21:05:14 +0200
changeset 61293 876e7eae22be
parent 52835 0906c00bb21d
child 62506 860cd901ab43
permissions -rw-r--r--
clarified ISABELLE_ROOT (platform path) vs. ISABELLE_HOME (standard path);

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

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