From: Jarkko Hietaniemi Date: Sun, 16 Dec 2001 02:47:36 +0000 (+0000) Subject: Can't create surrogates; so can't match them, either. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=0675fa5249ea76282fd1a6194f444bc1d87fcc0b;p=p5sagit%2Fp5-mst-13.2.git Can't create surrogates; so can't match them, either. p4raw-id: //depot/perl@13709 --- diff --git a/pod/perlunicode.pod b/pod/perlunicode.pod index 103b33b..e0518bc 100644 --- a/pod/perlunicode.pod +++ b/pod/perlunicode.pod @@ -249,7 +249,8 @@ The following reserved ranges have C tests: For example C<"\x{AC00}" =~ \p{HangulSyllable}> will test true. (Handling of surrogates is not implemented yet, because Perl -uses UTF-8 and not UTF-16 internally to represent Unicode.) +uses UTF-8 and not UTF-16 internally to represent Unicode. +So you really can't use the "Cs" category.) Additionally, because scripts differ in their directionality (for example Hebrew is written right to left), all characters