lib/scripts/recode.pl
author wenzelm
Mon, 25 Jan 2016 14:51:04 +0100
changeset 62246 d9410066dbd5
parent 52835 0906c00bb21d
child 62506 860cd901ab43
permissions -rw-r--r--
more thorough syntax_changed: new commands need require new folds;

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

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