(keitai-l) Re: Fun with Base64 Decoding

From: Ron Schei <ron.schei_at_tsutaya.co.jp>
Date: 10/26/01
Message-Id: <20011026164050.5E12.RON.SCHEI@tsutaya.co.jp>
Hello,

Everything is working properly now. 
Thanks a hyaku-man for all of the help!

I think that I was performing an unneccessary conversion somewhere and
fouling everything up. While cycling through the mail headers this seems
to work...

$line =~ s/=\?ISO-2022-JP\?B\?(.[^\?]*)\?=/decode_base64($1)/egi;

And before sending the whole page to the phone:
jcode::convert(\$pagevariable,'sjis');

Thanks again!
Ron


-- 
Ron Schei <ron.schei@tsutaya.co.jp>


[ Need archives? How to unsubscribe? http://www.appelsiini.net/keitai-l/ ]
Received on Fri Oct 26 13:06:51 2001