Re: MIME::Base64 bugs?
- From: Gunnar Hjalmarsson <noreply@xxxxxxxxx>
- Date: Tue, 05 Jun 2007 12:57:23 +0200
sonet wrote:
The MIME::Base64 will convert \n to \r\n.
$a="1234\n4567\n";
$a=encode_base64($a,0);
print decode_base64($a);
The result is 1234\r\n4567\r\n.
How did you come to that conclusion?
Could it possibly be that your observation has something to do with http://perldoc.perl.org/perlport.html#Newlines ?
--
Gunnar Hjalmarsson
Email: http://www.gunnar.cc/cgi-bin/contact.pl
.
- References:
- MIME::Base64 bugs?
- From: sonet
- MIME::Base64 bugs?
- Prev by Date: Re: How to get GIF support with Perl-GD library? (Can't locate object method "newFromGif")
- Next by Date: Re: How to get GIF support with Perl-GD library? (Can't locate object method "newFromGif")
- Previous by thread: Re: MIME::Base64 bugs?
- Next by thread: Re: MIME::Base64 bugs?
- Index(es):