Similar to MimeEncodeWord()
function MimeEncodeIfRequired ($str, $force_b64 = false);
either the plain string or encoded data as array('cenc' => "B"|"Q"|"", 'data')
checks whether any encoding is needed and which one (quoted-printable/base64) is more efficient in this case and
since quoted_printable_encode is used, this function is NOT BINARY SAFE!
set ($force_b64 = true) to reliably encode binary data here
any multi-line options are enabled in this function
Implementation file: unb_lib/mime.lib.php, line 335
© 2006 Yves Goergen. Unclassified NewsBoard Homepage. Reference based on UNB unb.devel.20060128, dated 2006-01-28.