perl-unicode

Re: [EXPERIMENTAL] 1st draft of Encode

2000-09-12 02:15:35
Jarkko Hietaniemi <jhi(_at_)iki(_dot_)fi> writes:

The is_utf8() also seem wrong to me.  I believe that the SV invariant
should be that a string marked with the UTF8 flag should not contain
illegal UTF8 sequences.  Why is it not so?

I'm being paranoid.  Keeps me alive.

Being paranoid is a good way to expose bugs.

If we after some perl operation end up with a string where the UTF8
flag is turned on and where the bytes do not represent a properly
encoded sequence, then _that_ is a bug and should be fixed.
True or false?

Regards,
Gisle