charset: refer to utf8 preset without dash
authorMischa POSLAWSKY <perl@shiar.org>
Sat, 22 Apr 2017 13:12:49 +0000 (15:12 +0200)
committerMischa POSLAWSKY <perl@shiar.org>
Thu, 25 May 2017 20:10:24 +0000 (22:10 +0200)
Swap with alias, functionally unchanged.

charset-encoding.inc.pl

index 0f1d2d6..eee5aa2 100644 (file)
@@ -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',
 };