PUBLIC char* INTL_EncodeMimePartIIStr ( char *header, int16 wincsid, XP_Bool bUseMime )
Convert and encode message header
Documentation
Convert and encode message header. Convert the string into an encoding used in Internet messages and encode them as per RFC 2047. It will (1) perform the codeset conversion and (2) RFC 1522 encoding algorithm (if bUseMime is true or the internet message encoding is ISO-2022-KR or ISO-2022-JP). This is a restrict version of INTL_EncodeMimePartIIStr_VarLen which always use 72 for encodedWordSize
- Returns:
- the encoded/converted header. The caller need to free this by calling XP_FREE when the result is no longer needed.
- Parameters:
- header - Specifies the RFC 1522 string to be encoded.
wincsid - Specifies the source encoding
bUseMime - Specifies apply RFC 1522 rule or not. If the value is true or the internet message encoding is ISO-2022-JP or ISO-2022-KR, then it perform RFC1522 encoding after convert the text into the internet message encoding, Otherwise, it only convert the text into internet message encoding. - See Also:
- INTL_DecodeMimePartIIStr
INTL_EncodeMimePartIIStr_VarLen
alphabetic index hierarchy of classes
generated by doc++