PUBLIC char* INTL_EncodeMimePartIIStr_VarLen ( char * header, int16 wincsid, XP_Bool bUseMime, int encodedWordSize )
Convert and encode text into RFC 1522 header
Documentation
Convert and encode text into RFC 1522 header. Convert the string into the encoding used in internet message and encode them into RFC 1522 form. 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). It is same as INTL_EncodeMimePartIIStr except it allow encodedWordSize value other than 72.
- 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.
encodedWordSize - Specifies the maximum length of encoded word. - See Also:
- INTL_DecodeMimePartIIStr
INTL_EncodeMimePartIIStr
alphabetic index hierarchy of classes
generated by doc++