Share via


MLCONVCHAR (Windows Embedded CE 6.0)

1/6/2010

This enumeration is used as an inbound or outbound flag for character set conversion.

Syntax

typedef enum tagMLCONVCHARF {
  MLCONVCHARF_NONE = 0,
  MLCONVCHARF_AUTODETECT = 1,
  MLCONVCHARF_NCR_ENTITIZE = 2,
  MLCONVCHARF_NAME_ENTITIZE = 4,
  MLCONVCHARF_USEDEFCHAR = 8,
  MLCONVCHARF_NOBESTFITCHARS = 16
} MLCONVCHAR;

Elements

  • MLCONVCHARF_NONE
    Inbound flag that specifies that the default setting is to be used.
  • MLCONVCHARF_AUTODETECT
    Outbound flag that a client can use to verify if the Conversion object has detected the source code page. When this flag is set, the IMLangConvertCharset::GetSourceCodePage method returns the detected value for the source code page.
  • MLCONVCHARF_NCR_ENTITIZE
    Inbound flag a client can specify when creating or initializing the Conversion object. This flag applies to Unicode-to-multibyte conversion only, and it indicates that any character code that cannot be displayed in the destination multibyte code page is encoded as the corresponding numeric entity code.
  • MLCONVCHARF_NAME_ENTITIZE
    Inbound flag a client can specify when creating or initializing the Conversion object. This flag applies to Unicode-to-multibyte conversion only, and it indicates that any character code that cannot be displayed in the destination multibyte code page is encoded as the corresponding named entity code.
  • MLCONVCHARF_NOBESTFITCHARS
    Flag that instructs the method not to convert characters from a supporting code page to a best fit character on a nonsupporting code page. For example, this flag would prevent the ® symbol from being converted to a normal R when converting from a supporting code page to a nonsupporting code page.

Requirements

Header mlang.h, mlang.idl
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

Internet Explorer MLang Enumerations
Conversion