lib/scripts/recode.pl
author Andreas Lochbihler
Wed, 11 Feb 2015 18:39:56 +0100
changeset 59527 edaabc1ab1ed
parent 52835 0906c00bb21d
child 62506 860cd901ab43
permissions -rw-r--r--
rel_pmf preserves orders

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

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