note 9089 added to base64_decode

From: Date: Mon, 16 Oct 2000 05:54:08 +0000
Subject: note 9089 added to base64_decode
Groups: php.notes 
Request: Send a blank email to php-notes+get-6515@lists.php.net to get a copy of this message
For double bytes system, messages as plantext may be encoded in MIME/base64. If we want to decode the message, we must feed the whole text to base64_decode as a long string. If we feed the encoded message one line at a time to base64_decode, then some information may be lost, and some may be incorrect. Is it possible for this function to 'preserve state'? So it knows the un-decoded data left in previous call, and try to decode it with current call. http://www.php.net/manual/function.base64-decode.php

« previous php.notes (#6515) next »