From 094ce63c66fa8d25297cfc86e6aed299ee830254 Mon Sep 17 00:00:00 2001 From: Anton Tagunov Date: Tue, 12 Mar 2002 04:40:58 +0300 Subject: [PATCH] fix format in lib/utf8.pm and polish the meaning Message-Id: <1194068830.20020312014058@motor.ru> (Applied with tweaks.) p4raw-id: //depot/perl@15192 --- lib/utf8.pm | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/lib/utf8.pm b/lib/utf8.pm index b18a043..9023eb6 100644 --- a/lib/utf8.pm +++ b/lib/utf8.pm @@ -95,7 +95,9 @@ pragma. Converts (in-place) I<$string> from logical characters to octet sequence representing it in Perl's I encoding. Note that this should not be used to convert a legacy byte encoding to Unicode: use -Encode for that. =item * $flag = utf8::decode($string) +Encode for that. + +=item * $flag = utf8::decode($string) Attempts to convert I<$string> in-place from Perl's I encoding into logical characters. Note that this should not be used to convert @@ -103,11 +105,11 @@ Unicode back to a legacy byte encoding: use Encode for that. =back -C is like C but the UTF8 flag does not -get turned on. See L for more on the UTF8 flag and the C -API functions C, C, -C, C that are wrapped by the Perl -functions C, C, C and +C is like C, but the UTF8 flag is cleared. +See L for more on the UTF8 flag and the C API functions +C, C, C, +and C, which are wrapped by the Perl functions +C, C, C and C. =head1 SEE ALSO -- 2.7.4