lib/scripts/recode.pl
author wenzelm
Wed, 17 Feb 2016 23:06:24 +0100
changeset 62354 fdd6989cc8a0
parent 52835 0906c00bb21d
child 62506 860cd901ab43
permissions -rw-r--r--
SML/NJ is no longer supported;

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

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