PHP » PYTHON |
login |
register |
about
|
PYTHON quoted_printable_encode
is this article helpful?
|
Python replacement for PHP's quoted_printable_encode
[
edit
| history
]
#Python 2.x: result = data.encode('quopri') #Python 3.x: import quopri result = quopri.encodestring(data) quoted_printable_encode(PHP 5 >= 5.3.0) quoted_printable_encode — Convert a 8 bit string to a quoted-printable string Description
string quoted_printable_encode
( string $str
)
Returns a quoted printable string created according to » RFC2045, section 6.7. This function is similar to imap_8bit(), except this one does not require the IMAP module to work. Parameters
Return ValuesReturns the encoded string. |
more
Recently updated
more
Most requested
|