From: Mischa POSLAWSKY Date: Sat, 22 Apr 2017 13:12:49 +0000 (+0200) Subject: charset: refer to utf8 preset without dash X-Git-Tag: v1.10~94 X-Git-Url: http://git.shiar.nl/sheet.git/commitdiff_plain/e19bc1a67aef5efb406e850681d04ed3644efc9f charset: refer to utf8 preset without dash Swap with alias, functionally unchanged. --- diff --git a/charset-encoding.inc.pl b/charset-encoding.inc.pl index 0f1d2d6..eee5aa2 100644 --- a/charset-encoding.inc.pl +++ b/charset-encoding.inc.pl @@ -2,7 +2,7 @@ use 5.014; use warnings; +{ - default => [qw( u+0-27F utf-8+realsize iso-8859-1 iso-8859-15 cp1252 cp437 cp850 )], + default => [qw( u+0-27F utf8+realsize iso-8859-1 iso-8859-15 cp1252 cp437 cp850 )], unicode => [qw( uu+cols=32+realsize u+0-FFF u+1000-18AF u+18B0-1FFF )], us => [qw( cp437 cp863 gsm0338 AdobeStandardEncoding )], ebcdic => [qw( cp37 cp500 cp1047 posix-bc cp1026 cp875 )], @@ -164,7 +164,6 @@ use warnings; $row->{set} = 'Unicode planes'; return $row; }}, - 'utf-8' => 'utf8', utf8 => {setup => sub { my $row = shift; $row->{set} = 'UTF-8'; @@ -173,4 +172,5 @@ use warnings; $row->{endpoint} = 0xFF; return $row; }}, + 'utf-8' => 'utf8', };