IMultiLanguage::IsConvert...     IMultiLanguage2::ConvertS...     MLang Interfaces    
Web Workshop (Miscellaneous)

IMultiLanguage2 Interface

The IMultiLanguage2 interface is an updated version of the IMultiLanguage interface. Introduced in Microsoft® Internet Explorer 5, IMultiLanguage2 provides all the functionality of IMultiLanguage plus some new and expanded methods.

IMultiLanguage2 Methods

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.
ConvertStringFromUnicodeEx Translates the source Unicode string to the specified multibyte code page.
ConvertStringInIStream Converts the given stream from the source code page to the destination code page.
ConvertStringReset Not currently implemented.
ConvertStringToUnicode Translates the source string from the specified code page to Unicode.
ConvertStringToUnicodeEx Translates the multibyte string from the specified code page to Unicode.
CreateConvertCharset Creates a charset Conversion Object and retrieves its corresponding IMLangConvertCharset interface.
DetectCodepageInIStream Detects the code page of the given stream.
DetectInputCodepage Detects the code page of the given string.
EnumCodePages Creates a Code Page Enumeration Object, initializes it with the value specified with grfFlags, and retrieves the corresponding IEnumCodePage interface.
EnumRfc1766 Creates a Locale Enumeration Object and retrieves the corresponding IEnumRfc1766 interface.
EnumScripts Creates a Script Enumeration Object, initializes it with the specified SCRIPTINFO constants, and retrieves the corresponding IEnumScript interface.
GetCharsetInfo Retrieves the MIMECSETINFO structure corresponding to the specified charset name.
GetCodePageDescription Retrieves the code page description that corresponds to uiCodePage.
GetCodePageInfo Retrieves the MIMECPINFO structure corresponding to the specified code page.
GetFamilyCodePage Retrieves the family code page identifier value of the specified code page.
GetLcidFromRfc1766 Retrieves the locale identifier value (LCID) corresponding to the given RFC1766-conforming name.
GetNumberOfCodePageInfo Retrieves the number of code pages for which there is information available on the system.
GetNumberOfScripts Retrieves the number of scripts.
GetRfc1766FromLcid Retrieves the RFC1766-conforming name that corresponds to the given locale identifier (LCID).
GetRfc1766Info Retrieves an RFC1766INFO structure that corresponds to the given locale identifier (LCID) value.
IsCodePageInstallable Not currently supported.
IsConvertible Checks if the charset conversion from the source code page to the destination code page can be performed.
SetMimeDBSource Sets the MIME database to be used by MLang.
ValidateCodePage Not currently implemented.

Interface Information

Implementation MultiLanguage Object (Mlang.dll)
Inherits from IUnknown
Header and IDL files Mlang.h, Mlang.idl
Minimum availability Internet Explorer 5
Minimum operating systems Windows 95, Windows NT 4.0

Remarks

IMultiLanguage2 updates IMultiLanguage by adding and expanding methods. These changes create a new code page detection functionality and enhance the existing character set conversion functionality. IMultiLanguage2 also supports the original capabilities of IMultiLanguage, such as character set conversion and information retrieval from the MIME database. IMultiLanguage2 should be used in place of IMultiLanguage.



Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.