PUBLIC char* INTL_DecodeMimePartIIStr ( const char *header, int16 wincsid, XP_Bool dontConvert )
Decode and convert message header
Documentation
Decode and convert message header. If the message header contains an RFC 2047 encoded-word, that word is decoded. Then it performs charset conversion if the dontConvert parameter is false. Otherwise, it will only decode the string and return. The conversion may happen later in the process. The flag is needed to work around a double conversion problem.
- Returns:
- Decoded and/or converted message header. If the return value is different from the input buffer, the caller must free the output buffer by calling XP_FREE when it is no longer needed.
- Parameters:
- header - Specifies the message string to be decoded/converted.
wincsid - Specifies the target window charset ID.
dontConvert - Specifies whether to convert the string into the wincsid or not. If the value is true, then it will only decode any RFC 2047 encoded-words, without converting their charsets. If the value is false, then it will decode RFC 2047 encoded-words AND convert them into the specified wincsid. - See Also:
- INTL_DECODE_MIME_PART_II
INTL_EncodeMimePartIIStr
INTL_EncodeMimePartIIStr_VarLen
alphabetic index hierarchy of classes
generated by doc++