Qore Mime Module Reference
1.4.2
|
Functions | |
binary | Mime::mime_decode_base64 (data str) |
returns a binary value from a string in "BASE64" encoding according to RFC 2045 More... | |
string | Mime::mime_decode_base64_to_string (data str, *string encoding) |
returns a string value from a string in "BASE64" encoding according to RFC 2045 More... | |
string | Mime::mime_decode_header (string hdr) |
decodes a header string; if any part of the string is encoded with "B" ("BASE64") or "Q" ("quoted-printable") encodings according to RFC 2045 section 6.7, then those parts are decoded and the decoded string is returned More... | |
string | Mime::mime_decode_quoted_printable (string str, *string encoding) |
returns a string parsed from "quoted-printable" (or "QP") encoding according to RFC 2045 section 6.7 More... | |
data | Mime::mime_decode_transfer_data (data mime_data, string enc, *string ct) |
decodes data according to the given encoding More... | |
binary Mime::mime_decode_base64 | ( | data | str | ) |
returns a binary value from a string in "BASE64" encoding according to RFC 2045
str | the string to decode |
returns a string value from a string in "BASE64" encoding according to RFC 2045
str | the string to decode |
encoding | the character encoding to use for the string returned (if not present the default encoding is used) |
decodes a header string; if any part of the string is encoded with "B" ("BASE64") or "Q" ("quoted-printable") encodings according to RFC 2045 section 6.7, then those parts are decoded and the decoded string is returned
hdr | the header value string to decode |
returns a string parsed from "quoted-printable" (or "QP") encoding according to RFC 2045 section 6.7
str | the string to decode |
encoding | the character encoding to use for the string returned (if not present the default encoding is used) |
QUOTED-PRINTABLE-DECODE-ERROR | an error occurred decoding the quoted-printable string |
decodes data according to the given encoding
mime_data | the data to decode |
enc | the decoding to use; see MIME Content Transfer Encoding Constants for possible values (case is ignored) |
ct | the content-type of the data; if there is a "charset=xxx" component and the data is decoded to a string, then it will be returned in the given character encoding |
MIME-TRANSFER-ENCODING-ERROR | unknown transfer encoding |