From: Jeffrey Friedl Date: Tue, 18 Dec 2001 21:13:59 +0000 (-0800) Subject: Re: [PATCH] pod/perluniintro.pod (removes unnecessary UTF-8 references) X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=1d9bf7bbf0578bdc2583de01f734aade7fa3b931;p=p5sagit%2Fp5-mst-13.2.git Re: [PATCH] pod/perluniintro.pod (removes unnecessary UTF-8 references) Message-Id: <200112190513.fBJ5DxN56315@ventrue.corp.yahoo.com> p4raw-id: //depot/perl@13789 --- diff --git a/pod/perluniintro.pod b/pod/perluniintro.pod index a55dbe5..9b447ca 100644 --- a/pod/perluniintro.pod +++ b/pod/perluniintro.pod @@ -426,13 +426,13 @@ returns: Bit Complement Operator ~ And vec() -The bit complement operator C<~> may produce surprising results if -used on strings containing Unicode characters. The results are -consistent with the internal encoding of the characters, but not with -much else. So don't do that. Similarly for vec(): you will be -operating on the internally encoded bit patterns of the Unicode -characters, not on the code point values, which is very probably not -what you want. +The bit complement operator C<~> may produce surprising results if used on +strings containing characters with ordinal values above 255. In such a +case, the results are consistent with the internal encoding of the +characters, but not with much else. So don't do that. Similarly for vec(): +you will be operating on the internally encoded bit patterns of the Unicode +characters, not on the code point values, which is very probably not what +you want. =item *