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:
Dave Mitchell
Date:
December 15, 2015 14:17
Subject:
Re: RFC: what to do about bitwise string operators (related to [perl#63574])
Message ID:
20151215141707.GN2958@iabyn.com
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.
    ....


-- 
Art is anything that has a label (especially if the label is "untitled 1")

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