lib/scripts/recode.pl
author wenzelm
Sat, 28 Sep 2013 13:50:38 +0200
changeset 53967 bfaae48b0ce0
parent 52835 0906c00bb21d
child 62506 860cd901ab43
permissions -rw-r--r--
simplified ISABELLE_HOME on Windows (see also 9c8a1b9c0630, 5a7903ba2dac);

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

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