Skip to main content

sieve_charset_converter_buffer_string

Last updated March 2020

Name

sieve_charset_converter_buffer_string — perform character encoding conversion

Synopsis

#include "util.h"

| int int **sieve_charset_converter_buffer_string** ( | srccharset, |   | |   | destcharset, |   | |   | inbuf, |   | |   | inbuflen, |   | |   | outstr); |   |

const char * <var class="pdparam">srccharset</var>; const char * <var class="pdparam">destcharset</var>; char * <var class="pdparam">inbuf</var>; int <var class="pdparam">inbuflen</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.

inbuf

the pointer source string.

inbufleft

the number of chars to convert from the source.

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?