|
|
|
MLang Reference |
|
This section covers the functionality provided by MLang, which is intended to help developers solve problems presented by the international scope of the Internet. These tools allow a developer to deal with a variety of international and multilingual issues. MLang provides:
|
|
Code Page Enumeration Conversion Locale Enumeration
|
Multilanguage Script Enumeration |
|
Interfaces |
|
|
|
|
|
Functions |
|
ConvertINetMultiByteToUnicode |
|
Translates a source
string to a Unicode string and returns the result to a buffer. |
|
DECLARE FUNCTION
ConvertINetMultiByteToUnicode _ |
|
ConvertINetString |
|
Performs character
set conversion between a given source codepage and a destination codepage
identifier. |
|
DECLARE FUNCTION
ConvertINetString _ |
|
ConvertINetUnicodeToMultiByte |
|
Translates a
character stream in Unicode to the specified destination codepage. |
|
DECLARE FUNCTION
ConvertINetUnicodeToMultiByte _ |
|
IsConvertInetStringAvaliable |
|
An application uses
the IsConvertINetStringAvailable function to verify that the
specified character set conversion can be performed. |
|
DECLARE FUNCTION
IsConvertINetStringAvailable _ |
|
LcidToRfc1766 |
|
Translates a
Microsoft Windows locale identifier to a human-readable name that conforms
to RFC-1766. |
|
DECLARE FUNCTION
LcidToRfc1766 _
DECLARE FUNCTION
LcidToRfc1766W _
|
|
Rfc1766ToLcid |
|
Translates a
Microsoft Windows locale identifier to a human-readable name that conforms
to RFC-1766. |
|
DECLARE FUNCTION
Rfc1766ToLcid _
DECLARE FUNCTION
Rfc1766ToLcidW _
|
|
Structures |
|
DetectEncodingInfo |
|
Contains the results of
code page detection by the IMultiLanguage2::DetectCodepageInIStream
and IMultiLanguage2::DetectInputCodepage methods. |
|
TYPE DetectEncodingInfo
END TYPE |
|
MIMECPINFO |
|
Contains detailed information
gathered from the MIME database about a given code page. |
|
TYPE MIMECPINFO |
|
MIMECSETINFO |
|
Contains information about a given
charset. |
|
TYPE MIMECSETINFO |
|
RFC1766INFO |
|
Contains information
about a given locale identifier value (LCID), including the corresponding
RFC1766-conforming name. |
|
TYPE RFC1766INFO |
|
SCRIPTINFO |
|
Contains the information about the
specified script. |
|
TYPE SCRIPTINFO
END TYPE |
|
UNICODERANGE |
|
Contains the Unicode range supported
by a particular font. |
|
TYPE
UNICODERANGE |
|
Enumerations |
|
MIMECONTF |
|
Used as a member of the MIMECPINFO
structure to specify the possible uses of a code page. |
|
%MIMECONTF_MAILNEWS =
&H1 |
|
MLCONVCHAR |
|
Used as an inbound or outbound flag
for character set conversion. |
|
%MLCONVCHARF_NONE = 0
%MLCONVCHARF_DETECTJPN = 32 |
|
MLCP |
|
Used with the
IMultiLanguage3::DetectOutboundCodePage and
IMultiLanguage3::DetectOutboundCodePageInIStream to control the behavior
of the methods. |
|
%MLDETECTF_MAILNEWS =
&H1
%MLDETECTF_EURO_UTF8 = &H80 |
|
MLDETECTCP |
|
Used with the code page
detection methods IMultiLanguage2::DetectInputCodepage and
IMultiLanguage2::DetectCodepageInIStream to specify the type of the
incoming data. |
|
%MLDETECTCP_NONE = 0
%LDETECTCP_NUMBER = 16 |
|
SCRIPTCONTF |
|
Contains the script identifiers. |
|
%sidDefault = 0 |
|
SCRIPTFONTCONTF |
|
Contains the script font values. |
|
%SCRIPTCONTF_FIXED_FONT = &H1 |
|
Constants |
|
DetectEncodingInfo |
|
%MAX_MIMECP_NAME = 64 |
Page last updated on Sunday, 26 March 2006 10:45:23 +0100