Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Seeking Perl docs about how UTF8 flag propagates

by hv (Prior)
on May 19, 2023 at 17:36 UTC ( [id://11152327]=note: print w/replies, xml ) Need Help??


in reply to Seeking Perl docs about how UTF8 flag propagates

I started a thread on perl5-porters about this, SvUTF8 predictability, and it also lead to a fair bit of discussion. However I think this snippet from dave_the_m probably best sums up the likely consensus:

I don't think its reasonable to document perl's behaviour vis-a-vis UTF8 flag behaviour. It will vary between releases, and it may well vary between different code paths (for example hypothetically rvalue and lvalue substr() might differ). It would also constrict any future bug fixes or optimisations.

.. with an assumption that mechanisms such as The 'unicode_strings' feature will continue to be added and refined to reduce as far as possible any need to know.

  • Comment on Re: Seeking Perl docs about how UTF8 flag propagates

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11152327]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (4)
As of 2024-04-20 00:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found