Partager via


Code Page Detection (Windows CE 5.0)

Send Feedback

Through the IMultiLanguage2 interface, MLang provides two code page detection methods, IMultiLanguage2::DetectInputCodepage and IMultiLanguage2::DetectCodepageInIStream. These methods determine the possible languages and code pages of the text data that is given by the caller, returning the results in an array of DetectEncodingInfo structures. In addition to containing a detected language and code page, these structures include two members that indicate the percentage of the data that is in the detected language, as well as the relative confidence that the structure contains the correct language and code page. To help increase the accuracy of the detected code page and language, the MLDETECTCP enumerated type is provided. These values specify the type of data that is being given to the detection method.

See Also

Internet Explorer Multiple-Language API Application Development

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.