ec_convert_io

March 26, 2020 Contributors

Name

ec_convert_io — Convert an io stream from one encoding to another

Synopsis

#include "misc/converter.h"

| io_object * **ec_convert_io** ( | from, |   |
|   | fromcode, |   |
|   | tocode); |   |

io_object * <var class="pdparam">from</var>;
const char * <var class="pdparam">fromcode</var>;
const char * <var class="pdparam">tocode</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.

Convert an io stream from one encoding to another.

Parameters

from

the io stream whose encoding is to be converted

fromcode

the encoding used for the input data

tocode

the encoding to be used for the output data

Return Values

io stream with desired encoding

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