DetectEncodingInfo (Windows CE 5.0)
This structure contains the results of code page detection by the IMultiLanguage2::DetectCodepageInIStream and IMultiLanguage2::DetectInputCodepage methods.
typedef struct tagDetectEncodingInfo {UINTnLangID;UINTnCodePage;INTnDocPercent;INTnConfidence;}DetectEncodingInfo, *pDetectEncodingInfo;
Members
- nLangID
Microsoft Win32-defined primary language identifier that has been detected for the source string. - nCodePage
Win32-defined code page, which is valid for single-byte and double-byte input only, that has been detected for the source string. - nDocPercent
Percentage of the string that is in the detected language. - nConfidence
Value that indicates the degree to which the detected data is correct. Confidence is based on an internal scoring method. It is a relative cumulative data item rather than an absolute percentage; therefore, values may be greater than 100.
Requirements
OS Versions: Windows CE .NET 4.0 and later.
Header: Mlang.h, Mlang.idl.
See Also
IMultiLanguage2::DetectCodepageInIStream | IMultiLanguage2::DetectInputCodepage
Send Feedback on this topic to the authors