develooper Front page | perl.perl5.porters | Postings from December 2015

Re: RFC: what to do about bitwise string operators (related to [perl#63574])

Thread Previous | Thread Next
From:
Karl Williamson
Date:
December 16, 2015 19:18
Subject:
Re: RFC: what to do about bitwise string operators (related to [perl#63574])
Message ID:
5671B8D4.8080903@khwilliamson.com
On 12/15/2015 07:17 AM, Dave Mitchell wrote:
> On Mon, Dec 14, 2015 at 07:05:27PM -0700, Karl Williamson wrote:
>> "It is deprecated to '%s' a string containing non-byte data",
>
> I don't like the use of the word "byte"; it has too many
> connotations: it could mean (as intended here) that string contains
> codepoints > 255, but it could also mean for example that the string has
> the SvUTF8 flag set.
>
> How about referring it to as "a string containing wide characters", as
> this is already established terminology in warnings like:
>
>      $ perl -le'print "\x{100}\n"'
>      Wide character in print at -e line 1.
>      ....
>
>

rjbs liked his use of 'code point above 0xff', and there is existing 
precedent for that as well, so that's what got committed,
87e05d1a4c512d5f08d9963b13e202483e002366

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About