in reply to WWW::Mechanize and Wide character in subroutine entry error

WWW::Mechanize must have decoded it for you, so use encode($to, $s) instead of from_to($s, 'UTF-8', $to)

Replies are listed 'Best First'.
Re^2: WWW::Mechanize and Wide character in subroutine entry error
by Gangabass (Vicar) on Jun 29, 2010 at 02:55 UTC

    But how i can tell WWW::Mechanize to use encode instead of from_to?

        I'm think it use Encode and it's from_to function...

        UpdatedSorry. It's was my error! I have used MyMech and use from_to in it. Thank's a lot.