lib/scripts/recode.pl
author nipkow
Sun, 02 Mar 2014 18:41:26 +0100
changeset 55834 459b5561ba4e
parent 52835 0906c00bb21d
child 62506 860cd901ab43
permissions -rw-r--r--
tuned proofs

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

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