diff --git a/Encode.pm b/Encode.pm index 9d0e32d..1c49837 100644 --- a/Encode.pm +++ b/Encode.pm @@ -431,10 +431,10 @@ same as C but C of returned object must match to I. So as opposite of C canonical names and aliases are not used when searching for object. - find_mime_encoding("utf8"); # returns undef because "utf8" is not valid I + find_mime_encoding("utf8"); # returns undef because "utf8" is not a valid MIME_ENCODING find_mime_encoding("utf-8"); # returns encode object "utf-8-strict" - find_mime_encoding("UTF-8"); # same as "utf-8" because I is case insensitive - find_mime_encoding("utf-8-strict"); returns undef because "utf-8-strict" is not valid I + find_mime_encoding("UTF-8"); # same as "utf-8" because MIME_ENCODING is case insensitive + find_mime_encoding("utf-8-strict"); returns undef because "utf-8-strict" is not a valid MIME_ENCODING =head3 from_to @@ -645,7 +645,7 @@ L ignores I and it always croaks on error. =head3 FB_DEFAULT - I = Encode::FB_DEFAULT ( == 0) + CHECK = Encode::FB_DEFAULT ( == 0) If I is 0, encoding and decoding replace any malformed character with a I. When you encode, I is used. @@ -655,7 +655,7 @@ warning category C<"utf8"> is given. =head3 FB_CROAK - I = Encode::FB_CROAK ( == 1) + CHECK = Encode::FB_CROAK ( == 1) If I is 1, methods immediately die with an error message. Therefore, when I is 1, you should trap @@ -663,7 +663,7 @@ exceptions with C, unless you really want to let it C. =head3 FB_QUIET - I = Encode::FB_QUIET + CHECK = Encode::FB_QUIET If I is set to C, encoding and decoding immediately return the portion of the data that has been processed so far when an @@ -682,7 +682,7 @@ code to do exactly that: =head3 FB_WARN - I = Encode::FB_WARN + CHECK = Encode::FB_WARN This is the same as C above, except that instead of being silent on errors, it issues a warning. This is handy for when you are debugging. @@ -780,7 +780,7 @@ See L for details. =head1 The UTF8 flag -Before the introduction of Unicode support in Perl, The C operator +Before the introduction of Unicode support in Perl, the C operator just compared the strings represented by two scalars. Beginning with Perl 5.8, C compares two strings with simultaneous consideration of I. To explain why we made it so, I quote from page 402 of