From: Radek Czajka Date: Wed, 20 Oct 2010 10:28:07 +0000 (+0200) Subject: get rid of #!... -CA in subset.pl X-Git-Tag: 1.7~265 X-Git-Url: https://git.mdrn.pl/librarian.git/commitdiff_plain/524ec674a82642609068599f334fc1423c4bc067?ds=inline get rid of #!... -CA in subset.pl --- diff --git a/font-optimizer/subset.pl b/font-optimizer/subset.pl index fb2eb95..642fe3d 100755 --- a/font-optimizer/subset.pl +++ b/font-optimizer/subset.pl @@ -1,5 +1,8 @@ -#!/usr/bin/perl -CA - # use the -CA flag so @ARGV is interpreted as UTF-8 +#!/usr/bin/perl + +# -CA flag is forbidden in #! line +use Encode qw(decode); + @ARGV = map { decode 'utf-8', $_ } @ARGV; use strict; use warnings;