From: Mug <[EMAIL PROTECTED]>
> Jm lists wrote:
> > Hello,
> >
> > Can you tell me what's this string?
> >
> > =?GBK?B?zNSxpszh0NHE+qO6wvS80tLRvq3GwLzbo6zH67vYxsA=?=
> >
> >
> > How to decode it?I try:
> >
> > $ perl -MEncode -le 'print
> > encode("utf8",decode("gbk","=?GBK?B?zNSxpszh0NHE+qO6wvS80tLRvq3GwLzb
> > o6zH67vYxsA=?="))'
> >
> >
> > But I can't get the result correctly.
> >
> >
> > Thanks for your helps.
> >
> Hi,
>
> This is an standard Outlook header ( Micro$oft standard ) , and the
> string should be decode with MIME::Base64.
>
> print decode_base64 "zNSxpszh0NHE+qO6wvS80tLRvq3GwLzbo6zH67vYxsA=";
> you got "淘宝ćÉ醒ćé¨ďźÜ卖家已经čŻä䝡ďźî请回čŻä" ( The site
> reminder: The buyer had bet the price, please reply )
>
> "=?GBK?" is declare that the string is coding with GBK, and but B? is
> what ? I forgot...

Base64

The other option would be Q = quoted-printable, MIME::QuotedPrint.

Jenda
===== [EMAIL PROTECTED] === http://Jenda.Krynicky.cz =====
When it comes to wine, women and song, wizards are allowed
to get drunk and croon as much as they like.
        -- Terry Pratchett in Sourcery


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to