in reply to Re: Re: writing utf8 files under WindowsXP
in thread writing utf8 files under WindowsXP

You need to use Encode like this:
use Encode qw/from_to/; ... from_to( $_, "cp1250", "utf8" ); ...
Alternatively, you could use it like this:
use Encode; ... Encode::from_to( $_, "cp1250", "utf8" ); ...
This is because by default, Encode does not export the "from_to" function into the "main" namespace of your script.

Replies are listed 'Best First'.
Re: Re: Re: Re: writing utf8 files under WindowsXP
by Anonymous Monk on Apr 29, 2004 at 05:52 UTC
    Thanks a lot to all for your help. Now I got my script working.