DataBlade API Programmer's Manual
Chapter 12: DataBlade API Function Descriptions
Home
Contents
Index
Master Index
New Book
mi_convert_to_codeset()
The
mi_convert_to_codeset()
function converts data to a specified code set.
Syntax
mi_integer mi_convert_to_codeset(
string
,
locale_name
)
char *string;
char *locale_name;
string
is the data to convert.
locale_name
is the code set to which to convert the data.
Valid in Client Application?
Valid in Server Routine?
No
Yes
Usage
Universal Server automatically converts text columns to the server and client locales. However, the
mi_convert_to_codeset()
function is useful for a user-defined type that has an embedded string or additional information about local code sets.
Return Values
A pointer to the buffer that contains the resulting data.
Related Topics
For additional information, see the description of the
mi_convert_from_codeset()
function.
DataBlade API Programmer's Manual
, version 9.1
Copyright © 1998, Informix Software, Inc. All rights reserved.