We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 94caec9 commit 76771a3Copy full SHA for 76771a3
utf8.c
@@ -1605,14 +1605,8 @@ Perl__utf8n_to_uvchr_msgs_helper(const U8 *s,
1605
&& LIKELY(! (possible_problems & UTF8_GOT_OVERFLOW))
1606
&& ( isUTF8_POSSIBLY_PROBLEMATIC(*adjusted_s0)
1607
|| UNLIKELY(UTF8_IS_PERL_EXTENDED(s0)))))
1608
- && ((flags & ( UTF8_DISALLOW_NONCHAR
1609
- |UTF8_DISALLOW_SURROGATE
1610
- |UTF8_DISALLOW_SUPER
1611
- |UTF8_DISALLOW_PERL_EXTENDED
1612
- |UTF8_WARN_NONCHAR
1613
- |UTF8_WARN_SURROGATE
1614
- |UTF8_WARN_SUPER
1615
- |UTF8_WARN_PERL_EXTENDED))))
+ && ((flags & ( UTF8_DISALLOW_ILLEGAL_INTERCHANGE
+ |UTF8_WARN_ILLEGAL_INTERCHANGE))))
1616
{
1617
/* If there were no malformations, or the only malformation is an
1618
* overlong, 'uv' is valid */
0 commit comments