xxxCharSet()
This function identifies the character encoding used within the source document.
Syntax
KVCharSet pascal _export xxxCharSet( void *pCFContext, BOOL *bMSBLSB)
Arguments
pCFContext
|
A pointer to the global context structure for the custom reader. |
bMSBLSB
|
The BOOL value required for Unicode text. Set this argument to TRUE for Big Endian and FALSE for Little Endian. |
Returns
One of the enumerated values defined in the KVCharSet
structure in kvcharset.h
.
Discussion
If the custom reader can determine the character encoding of the document, the corresponding enumerated value is returned. If the character encoding cannot be determined, KVCS_UNKNOWN
is returned.