in reply to Re^5: Seeking Perl docs about how UTF8 flag propagates
in thread Seeking Perl docs about how UTF8 flag propagates
What do you mean by "appears"?
I tried the following:
#!/usr/bin/perl use warnings; use strict; use Devel::Peek; my $s = "\N{LATIN SMALL LETTER S WITH CARON}i\N{LATIN SMALL LETTER C W +ITH CARON}"; for my $i (0 .. 2) { my $c = substr $s, $i, 1; Dump($c); }
Running it through 2>&1 | grep FLAGS outputs
FLAGS = (POK,pPOK,UTF8) FLAGS = (POK,pPOK,UTF8) FLAGS = (POK,pPOK,UTF8)
Update: Fixed the encoding of the code.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^7: Seeking Perl docs about how UTF8 flag propagates
by hv (Prior) on May 17, 2023 at 12:13 UTC | |
|
Re^7: Seeking Perl docs about how UTF8 flag propagates
by LanX (Saint) on May 17, 2023 at 11:21 UTC |