lib/scripts/recode.pl
author wenzelm
Fri, 26 Jun 2015 10:20:33 +0200
changeset 60585 48fdff264eb2
parent 52835 0906c00bb21d
child 62506 860cd901ab43
permissions -rw-r--r--
tuned whitespace;

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

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