lib/scripts/recode.pl
author wenzelm
Wed, 28 Aug 2013 09:12:50 +0200
changeset 53243 dabe46c68228
parent 52835 0906c00bb21d
child 62506 860cd901ab43
permissions -rw-r--r--
more uniform check (see JEdit_Lib.propagate_key);

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

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