lib/scripts/recode.pl
author haftmann
Sun, 08 Jun 2014 23:30:47 +0200
changeset 57187 de00494fa8b3
parent 52835 0906c00bb21d
child 62506 860cd901ab43
permissions -rw-r--r--
less ad-hoc verision of educated guess: guess identity of declaration morphism wrt. canonical morphism rather than observing particular effects of declaration morphisms only; n.b. this fullfills promise given in 63c7b29d29ac

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

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