lib/scripts/recode.pl
author blanchet
Wed, 14 Aug 2013 13:15:28 +0200
changeset 53028 a1e64c804c35
parent 52835 0906c00bb21d
child 62506 860cd901ab43
permissions -rw-r--r--
more (co)datatype documentation

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

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