From 524ec674a82642609068599f334fc1423c4bc067 Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Wed, 20 Oct 2010 12:28:07 +0200 Subject: [PATCH] get rid of #!... -CA in subset.pl --- font-optimizer/subset.pl | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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; -- 2.20.1