Chris Hall skribis 2008-03-11 13:30 (+0000): > I suggest utf8::valid() is broken. > my $s = chr($c) ; > my $v = utf8::valid($s) ? 1 : 0 ;
Agreed. utf8::valid(chr $foo) should ALWAYS return true. (Please note that utf8::valid tests the internal consistency of a string - on the outside, it has little to do with UTF8.) Could you please report this bug with perlbug? -- Met vriendelijke groet, Kind regards, Korajn salutojn, Juerd Waalboer: Perl hacker <[EMAIL PROTECTED]> <http://juerd.nl/sig> Convolution: ICT solutions and consultancy <[EMAIL PROTECTED]>