rfc2047_utf8_encode_to_string

March 26, 2020

Name

rfc2047_utf8_encode_to_string — Applies MIME header encoding and stores the encoded result to a string

Synopsis

#include "misc/rfc2047.h"

| int **rfc2047_utf8_encode_to_string** ( | in, |   |
|   | in_len, |   |
|   | out); |   |

const char * <var class="pdparam">in</var>;
int <var class="pdparam">in_len</var>;
string * <var class="pdparam">out</var>;

Description

Note

This reference page was automatically generated from functions found in the header files in the development branch. The function described here may not exist in generally available versions of Momentum, and may change in behavior when it is generally available. Consult your vendor for definitive advice on the use of this function.

Applies MIME header encoding and stores the encoded result to a string.

Parameters

in

a UTF-8 encoded C-string

in_len

the length of in

out

the target string

Return Values

1 if successful, 0 otherwise.

**Configuration Change. ** This feature is available starting from Momentum 3.0.18.