perl-unicode

Re: Encode, take two

2000-09-12 11:40:46
On Tue, Sep 12, 2000 at 12:48:27PM -0500, Jarkko Hietaniemi wrote:

=head2 Toggling UTF-8-ness

      on_utf8($string)

[INTERNAL] Turn on the UTF-8 flag in $string.  The data in
$string is NOT checked for well-formed-UTF-8-ness.  Do not
use frivolously since after turning this on only you know
that data data is in UTF-8, Perl doesn't.
Returns nothing.

This confuses me. Why would Perl not think the data is UTF-8 if the UTF-8
flag is on? (You also want to remove a data from 'data data').



Abigail

<Prev in Thread] Current Thread [Next in Thread>