Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Hi
I'm using Mason (mod perl) and a source code that uses SOAP Lite in order to comunicate with another program and process the input/output.
My problem is that whenever I try to print accentuated characters (בחם) not (áçí) they get printed in their utf (I guess) form.
Any sugestions apart from converting ב to á ?
Thanx

Replies are listed 'Best First'.
Re: MASON SOAP accents problem
by Stegalex (Chaplain) on Apr 03, 2002 at 15:14 UTC
    Look into using MIME::Decoder. If your stuff is encoded as 'quoted-printable' (and it probably is if you are being passed them funny characters), then do something like:
    my $decoder = new MIME::Decoder 'quoted-printable' or warn "\nunsuppor +ted\n";
    and then look at the documentation for the decode method. Sorry I don't have a thorough answer but this should get you on track. I like chicken.