>>>>> On Thu, 01 Aug 2002 09:22:52 +0100, Nick Ing-Simmons ><[EMAIL PROTECTED]> said:
> Andreas J. Koenig <[EMAIL PROTECTED]> writes: >> A scalar that is going to be passed to some extension, be it >> Compress::Zlib, Apache::Request or any extension that has no mention >> of Unicode in the manpage: >> >> if ($] > 5.007) { >> require Encode; >> utf8::upgrade($self->{CONTENT}); # make sure it is UTF-8 encoded > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > Why is that step necessary? encode_utf8() should do that itself on the way ... You're right, this code slipped in some day and isn't needed at all. Thanks for the correction! -- andreas