From 367b330505b18be8c550e8003fee01f0df0e9a82 Mon Sep 17 00:00:00 2001 From: Karl Williamson Date: Wed, 30 Mar 2011 18:55:58 -0600 Subject: [PATCH] encoding(utf8) isn't case or dash sensitive --- pod/perluniintro.pod | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/pod/perluniintro.pod b/pod/perluniintro.pod index 0fe7bbd..ac12109 100644 --- a/pod/perluniintro.pod +++ b/pod/perluniintro.pod @@ -343,10 +343,8 @@ many encodings have several aliases. Note that the C<:utf8> layer must always be specified exactly like that; it is I subject to the loose matching of encoding names. Also note that currently C<:utf8> is unsafe for input, because it accepts the data without validating that it is indeed valid -UTF8; you should instead use C<:encoding(UTF-8)> (unfortunately this -specification needs to be in all upper-case with the dash to get the -safety checking; C<:encoding(utf-8)>, for example, doesn't do the -checking). +UTF-8; you should instead use C<:encoding(utf-8)> (with or without a +hyphen). See L for the C<:utf8> layer, L and L for the C<:encoding()> layer, and -- 2.7.4