lib/scripts/recode.pl
author wenzelm
Mon, 29 Feb 2016 20:35:06 +0100
changeset 62475 43e64c770f28
parent 52835 0906c00bb21d
child 62506 860cd901ab43
permissions -rw-r--r--
isabelle_process executable no longer supports writable heap images;

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

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