Share via


MLCP enumeration

Used with the IMultiLanguage3::DetectOutboundCodePage and IMultiLanguage3::DetectOutboundCodePageInIStream to control the behavior of the methods.

Syntax

typedef enum tagMLCPF { 
  MLDETECTF_MAILNEWS            = 0x0001,
  MLDETECTF_BROWSER             = 0x0002,
  MLDETECTF_VALID               = 0x0004,
  MLDETECTF_VALID_NLS           = 0x0008,
  MLDETECTF_PRESERVE_ORDER      = 0x0010,
  MLDETECTF_PREFERRED_ONLY      = 0x0020,
  MLDETECTF_FILTER_SPECIALCHAR  = 0x0040,
  MLDETECTF_EURO_UTF8           = 0x0080
} MLCP;

Constants

  • MLDETECTF_MAILNEWS
    Not currently supported.

  • MLDETECTF_BROWSER
    Not currently supported.

  • MLDETECTF_VALID
    Detection result must be valid for conversion and text rendering.

  • MLDETECTF_VALID_NLS
    Detection result must be valid for conversion.

  • MLDETECTF_PRESERVE_ORDER
    Preserve preferred code page order. This is meaningful only if you have set the puiPreferredCodePages parameter in IMultiLanguage3::DetectOutboundCodePage or IMultiLanguage3::DetectOutboundCodePageInIStream.

  • MLDETECTF_PREFERRED_ONLY
    Only return one of the preferred code pages as the detection result. This is meaningful only if you have set the puiPreferredCodePages parameter in IMultiLanguage3::DetectOutboundCodePage or IMultiLanguage3::DetectOutboundCodePageInIStream.

  • MLDETECTF_FILTER_SPECIALCHAR
    Filter out graphical symbols and punctuation.

  • MLDETECTF_EURO_UTF8
    Return only Unicode codepages if the euro character is detected.

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows 2000 Server

Header

Mlang.h

IDL

Mlang.idl