develooper Front page | perl.perl5.porters | Postings from February 2022

Re: Deprecating downgrade of `use utf8`

Thread Previous | Thread Next
From:
Ovid via perl5-porters
Date:
February 21, 2022 17:48
Subject:
Re: Deprecating downgrade of `use utf8`
Message ID:
1235159770.391514.1645465713503@mail.yahoo.com
On Monday, 21 February 2022, 18:32:34 CET, Paul "LeoNerd" Evans <leonerd@leonerd.org.uk> wrote:

> On a similar note: How do people feel about code which turns off the
"my source encoding is UTF-8" pragma after having previously turned it
on? I.e.
>
>  use utf8;
>  my $café = "Ĉu vi havas sandviĉojn?";
>
>  no utf8;
>
> If we disallow this kind of thing, we can remove further weird
> cornercases from the parser, because a bunch of unlikely situations no
> longer come up.
>
> As with VERSION: Are there any actually-valid use-cases for doing this
> kind of thing?

 Conversely, do we know of areas where "no utf8" causes problems in the Perl language intead of the perl core? 

Also, what are the problems in the perl core? Are they causing grief?

Best,
Ovid
-- 
IT consulting, training, specializing in Perl, databases, and agile development
http://www.allaroundtheworld.fr/. 

Buy my book! - http://bit.ly/beginning_perl

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