in reply to Re^13: Seeking Perl docs about how UTF8 flag propagates (Terminology)
in thread Seeking Perl docs about how UTF8 flag propagates
It doesn't "default to ASCII". It works against decoded text aka string of Unicode Code Points. Always. Even without pragmas. This can be demonstrated using "\N{U+100}" =~ /\w/ (which matches). You need to use /a if to limit it to the ASCII range.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^15: Seeking Perl docs about how UTF8 flag propagates (Terminology)
by LanX (Saint) on May 23, 2023 at 10:18 UTC | |
by ikegami (Patriarch) on May 23, 2023 at 14:40 UTC |