NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
UTF-8 (Score:1)
I'm sorry to disappoint you, but
Perl_is_utf8_stringcan't be used to check for well-formed UTF-8. Perls utf8 encoding form is superset of Unicode and ISO/IEC 10646. Perls encoding form supports codepoints up to 2**64-1 and has no problems with encoded UTF-16 surrogates or any other permanently reserved codepoints.Re:UTF-8 (Score:1)
Baf, I'm not disappointed. Nothing can be more disappointing than encoding problems...
Hansen can you have a loot at http://github.com/jozef/String-isUTF8/blob/master/t/01_String-isUTF8.t [github.com] and send a patch with failing tests?
Reply to This
Parent