This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Pod nit in Encode.pm, found by Marc Lehmann in RT #36949.
[perl5.git] / ext / Encode / Encode.pm
index ac0123c..4a4411b 100644 (file)
@@ -825,7 +825,7 @@ goes "liberal"
 
   find_encoding("UTF-8")->name # is 'utf-8-strict'
   find_encoding("utf-8")->name # ditto. names are case insensitive
-  find_encoding("utf8")->name  # ditto. "_" are treated as "-"
+  find_encoding("utf_8")->name  # ditto. "_" are treated as "-"
   find_encoding("UTF8")->name  # is 'utf8'.