Looking For

PUBLIC unsigned char* INTL_ConvertLineWithoutAutoDetect ( int16 fromcsid, int16 tocsid, unsigned char *pSrc, uint32 block_size )

Converts a piece of text from one charset to another

Documentation

Converts a piece of text from one charset to another. This function does not do charset ID auto-detection. The caller must pass the from/to charset IDs. This function does not keep state. Don't use it to convert a stream of data. Only use this when you want to convert a string, and you have no way to hold on to the converter object. If the string gets converted in place (use the input buffer), then this function returns NULL.
Returns:
The converted text, null terminated, or NULL if converted in place
Parameters:
fromcsid - Specifies the charset ID to convert from
tocsid - Specifies the charset ID to convert to
pSrc - Specifies the input text
block_size - Specifies the number of bytes in the input text
See Also:
INTL_CallCharCodeConverter

alphabetic index hierarchy of classes