lib/scripts/recode.pl
author traytel
Mon, 25 Nov 2013 15:56:23 +0100
changeset 54584 2bbcbf8cf47e
parent 52835 0906c00bb21d
child 62506 860cd901ab43
permissions -rw-r--r--
possibility to fold coercion inference error messages; tuned;

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

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