Change 15755 by jhi@alpha on 2002/04/06 15:26:44 Subject: [perlunicode] A nasty doc bug causing the real one! From: Dan Kogai <[EMAIL PROTECTED]> Date: Sat, 6 Apr 2002 06:08:40 +0900 Message-Id: <[EMAIL PROTECTED]>
Affected files ... .... //depot/perl/pod/perlunicode.pod#87 edit Differences ... ==== //depot/perl/pod/perlunicode.pod#87 (text) ==== Index: perl/pod/perlunicode.pod --- perl/pod/perlunicode.pod.~1~ Sat Apr 6 08:30:05 2002 +++ perl/pod/perlunicode.pod Sat Apr 6 08:30:05 2002 @@ -792,7 +792,7 @@ and the decoding is - $uni = 0x10000 + ($hi - 0xD8000) * 0x400 + ($lo - 0xDC00); + $uni = 0x10000 + ($hi - 0xD800) * 0x400 + ($lo - 0xDC00); If you try to generate surrogates (for example by using chr()), you will get a warning if warnings are turned on (C<-w> or C<use End of Patch.