in reply to Re^3: Seeking Perl docs about how UTF8 flag propagates
in thread Seeking Perl docs about how UTF8 flag propagates
Those aspects of Perl that requires you to know the state of the UTF8 flagBut I'm not asking "what is the state of the UTF8 flag." I'm asking, "Does a given operation preserve the state?"
Do $str2, $str3, and $words[2] have the same flag value as $str? Does it depend on other factors? Is it undefined? (I suppose since it's intentionally undocumented, it's at least theoretically undefined.)$str2 = $str; $str3 = sprintf ("str is %s", $str); @words = split(/ /, $str);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Seeking Perl docs about how UTF8 flag propagates
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 |