lib/scripts/recode.pl
author wenzelm
Sat, 10 Jan 2015 21:22:25 +0100
changeset 59344 e0ce214303c1
parent 52835 0906c00bb21d
child 62506 860cd901ab43
permissions -rw-r--r--
proper Session.save with shutdown, which is relevant to avoid persistent threads;

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

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