lib/scripts/recode.pl
author wenzelm
Wed, 13 Aug 2014 16:06:32 +0200
changeset 57929 c5063c033a5a
parent 52835 0906c00bb21d
child 62506 860cd901ab43
permissions -rw-r--r--
tuned signature -- proper Local_Theory.add_thms_dynamic;

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

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