in reply to Re^2: Seeking Perl docs about how UTF8 flag propagates
in thread Seeking Perl docs about how UTF8 flag propagates
certain functions (e.g., lc) change their behavior depending on how the flag is set.
Yes, this is indeed the fly in the ointment. As far as I know such cases are documented - and in this case at least the documentation describes mechanisms that force it to behave one way or another independent of the UTF8 flag (eg use bytes versus use feature 'unicode_strings').
Those aspects of Perl that requires you to know the state of the UTF8 flag are collectively known as "the Unicode bug", and there is more detail in a section devoted to this in perlunicode.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Seeking Perl docs about how UTF8 flag propagates
by raygun (Scribe) on May 16, 2023 at 02:17 UTC | |
by hv (Prior) on May 16, 2023 at 02:50 UTC | |
by raygun (Scribe) on May 16, 2023 at 05:56 UTC | |
by choroba (Cardinal) on May 17, 2023 at 08:07 UTC | |
by hv (Prior) on May 17, 2023 at 12:13 UTC | |
by LanX (Saint) on May 17, 2023 at 11:21 UTC |