Skip to main content

sieve_charset_converter_string_string

Last updated March 2020

Name

sieve_charset_converter_string_string — perform character encoding conversion

Synopsis

#include "util.h"

| int **sieve_charset_converter_string_string** ( | srccharset, |   | |   | destcharset, |   | |   | instr, |   | |   | outstr); |   |

const char * <var class="pdparam">srccharset</var>; const char * <var class="pdparam">destcharset</var>; string * <var class="pdparam">instr</var>; string * <var class="pdparam">outstr</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.

perform character encoding conversion.

Parameters

srccharset

the source character set.

destcharset

the character set to be converted to.

instr

the source string.

outstr

the string containing the converted text.

Return Values

0 if failed.

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

Was this page helpful?