perl-unicode

Re: Encode, take three

2000-09-12 12:26:46
On Tue, Sep 12, 2000 at 01:56:52PM -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 B<not> checked for being well-formed UTF-8.  Do not
use unless you B<know> that the STRING is well-formed UTF-8. 
Returns nothing.

Returning nothing is a waste. Would it be useful to return the previous
value of the UTF-8 flag? Same for off_utf8.



Abigail

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