develooper Front page | perl.i18n | Postings from August 2004

ISO-8859-1 conversion

From:
Antonio Lobato
Date:
August 21, 2004 09:04
Subject:
ISO-8859-1 conversion
Message ID:
41275820.3378A3BF@pobox.com


        Hi,


        I wrote a perl for get mail messages from postfix smtp server
via STDIN.
        My problem is postfix is sending encoded characters to my
script. If it have to send a acentued "a", á, it sends a

            =?ISO-8859-1?B?4SDjIOI=?=

        instead. for acentued "e", é, it sends the string

            =?ISO-8859-1?B?6SDq?=

        How to get perl convert between such encoded string and the
right acentued char?




        Thank you
        Tom




nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About