MIMEHEADER_ENCODE v17
Use the MIMEHEADER_ENCODE
function to convert a string into mime header format and then encode the string. The signature is:
This function returns a VARCHAR2
value.
Parameters
buf
buf
contains the string to format and encode. The string is a VARCHAR2
value.
encode_charset
encode_charset
specifies the character set to which to convert the string before formatting and encoding it. The default value is NULL
.
encoding
encoding
specifies the encoding type used when encoding the string. You can specify:
Q
to enable quoted-printable encoding. If you don't specify a value,MIMEHEADER_ENCODE
uses quoted-printable encoding.B
to enable base-64 encoding.
Examples
These example use the MIMEHEADER_ENCODE
and MIMEHEADER_DECODE
functions to first encode and then decode a string:
- On this page
- Parameters
- Examples