Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

This interface provides methods for character set conversions, code page detection, and the retrieval of information on code pages, locales, and character sets. This interface and its methods are supported on all Windows Mobile operating systems that include Mlang functionality.

Methods

The following table shows the methods of this interface in alphabetical order. Like all COM interfaces, this interface inherits the methods for the IUnknowninterface.

Method Description

ConvertString

Converts the given source string from the source code page to the destination code page.

ConvertStringFromUnicode

Translates the source Unicode string to the specified multibyte code page.

ConvertStringToUnicode

Translates the source string from the specified code page to Unicode.

CreateConvertCharset

Creates a charset Conversion object and retrieves its corresponding IMLangConvertCharsetinterface.

EnumCodePages

Creates a Code Page Enumeration object, initializes it with the value specified with grfFlags, and retrieves the corresponding IEnumCodePageinterface.

EnumRfc1766

Creates a Locale Enumeration object and retrieves the corresponding IEnumRfc1766interface.

GetCharsetInfo

Retrieves the MIMECSETINFOstructure corresponding to the specified character set name.

GetCodePageInfo

Retrieves the MIMECPINFOstructure corresponding to the code page specified in uiCodePage.

GetFamilyCodePage

Retrieves the family code page identifier value corresponding to uiCodePage.

GetLcidFromRfc1766

Retrieves the locale identifier (LCID) value corresponding to the given RFC1766-conforming name.

GetNumberOfCodePageInfo

Returns the number of code pages for which there is information available on the system.

GetRfc1766FromLcid

Retrieves the RFC1766-conforming name that corresponds to the given LCID.

GetRfc1766Info

Retrieves an RFC1766INFOstructure that corresponds to the given LCID value.

IsConvertible

Checks if the charset conversion from the source code page to the destination code page can be performed.

Remarks

This interface provides access to three interfaces: IEnumCodePage, IEnumRfc1766, and IMLangConvertCharset. Calling these enumeration and conversion interfaces can provide information more efficiently than repeatedly calling the methods for the IMultiLanguageinterface.

Requirements

Header mlang.h, mlang.idl
Library mlang.dll
Windows Embedded CE Windows CE .NET 4.0 and later
Windows Mobile Windows Mobile Version 5.0 and later