Re: UTF8_ALLOW_ANYUV should not allow overlong sequences [PATCH]

2004-12-09 Thread Rafael Garcia-Suarez
Gisle Aas wrote: > Perl use the UTF8_ALLOW_ANYUV mask in functions that should not be > restricted to only the valid Unicode code points. For some reason > this mask currently include the UTF8_ALLOW_LONG flag. This seems > totally wrong as there can't be a good reason to allow overlong > sequence

UTF8_ALLOW_ANYUV should not allow overlong sequences [PATCH]

2004-12-06 Thread Gisle Aas
Perl use the UTF8_ALLOW_ANYUV mask in functions that should not be restricted to only the valid Unicode code points. For some reason this mask currently include the UTF8_ALLOW_LONG flag. This seems totally wrong as there can't be a good reason to allow overlong sequences just because we don't wan