lib/scripts/recode.pl
author kleing
Sun, 10 Jan 2016 19:46:31 -0800
changeset 62118 e60f1a925b4d
parent 52835 0906c00bb21d
child 62506 860cd901ab43
permissions -rw-r--r--
print_record NEWS and CONTRIBUTORS

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

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