Change 12037 by jhi@alpha on 2001/09/16 14:27:54
Supply more details on how lc/uc/lcfirst/ucfirst are
not yet fully implemented.
Affected files ...
... //depot/perl/pod/perlfunc.pod#262 edit
... //depot/perl/pod/perlunicode.pod#30 edit
Differences ...
==== //depot/perl/pod/perlfunc.pod#262 (text) ====
Index: perl/pod/perlfunc.pod
--- perl/pod/perlfunc.pod.~1~ Sun Sep 16 08:45:05 2001
+++ perl/pod/perlfunc.pod Sun Sep 16 08:45:05 2001
@@ -5456,9 +5456,8 @@
Returns an uppercased version of EXPR. This is the internal function
implementing the C<\U> escape in double-quoted strings. Respects
current LC_CTYPE locale if C<use locale> in force. See L<perllocale>
-and L<perlunicode>. Under Unicode it uses the standard Unicode
-uppercase mappings. (It does not attempt to do titlecase mapping on
-initial letters. See C<ucfirst> for that.)
+and L<perlunicode>. It does not attempt to do titlecase mapping on
+initial letters. See C<ucfirst> for that.
If EXPR is omitted, uses C<$_>.
==== //depot/perl/pod/perlunicode.pod#30 (text) ====
Index: perl/pod/perlunicode.pod
--- perl/pod/perlunicode.pod.~1~ Sun Sep 16 08:45:05 2001
+++ perl/pod/perlunicode.pod Sun Sep 16 08:45:05 2001
@@ -476,8 +476,13 @@
lc(), uc(), lcfirst(), and ucfirst() work only for some of the
simplest cases, where the mapping goes from a single Unicode character
-to another single Unicode character. More complex cases, where for
-example one character maps into several, are not yet implemented.
+to another single Unicode character, and where the mapping does not
+depend on surrounding characters, or on locales. More complex cases,
+where for example one character maps into several, are not yet
+implemented. See the Unicode Technical Report #21, Case Mappings,
+for more details. The Unicode::UCD module (part of Perl since 5.8.0)
+casespec() and casefold() interfaces supply information about the more
+complex cases.
=item *
End of Patch.