lib/scripts/recode.pl
author hoelzl
Tue, 05 Nov 2013 09:45:02 +0100
changeset 54263 c4159fe6fa46
parent 52835 0906c00bb21d
child 62506 860cd901ab43
permissions -rw-r--r--
move Lubs from HOL to HOL-Library (replaced by conditionally complete lattices)

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

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