lib/scripts/recode.pl
author wenzelm
Wed, 07 Oct 2015 19:45:00 +0200
changeset 61360 a273bdac0934
parent 52835 0906c00bb21d
child 62506 860cd901ab43
permissions -rw-r--r--
more glyphs from DejaVuSansMono and DejaVuSansMono-Bold: 0100-017F Latin Extended-A, 0180-024F Latin Extended-B;

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

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