rfc2047_utf8_decode_to_string

March 26, 2020

Name

rfc2047_utf8_decode_to_string — decodes MIME header encoding and stores the decoded result to a string

Synopsis

#include "misc/rfc2047.h"

| int **rfc2047_utf8_decode_to_string** ( | header, |   |
|   | hdrlen, |   |
|   | out); |   |

const char * <var class="pdparam">header</var>;
int <var class="pdparam">hdrlen</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.

decodes MIME header encoding and stores the decoded result to a string

Parameters

header

the header text to be decoded

hdrlen

the length of the header

out

the destination for the decoded result.

The output string will receive a utf-8 encoded string.

Return Values

the length of the decoded string.

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