# 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.

© Copyright 2016-2020 Micro Focus or one of its affiliates | Send documentation feedback Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a mail client, and then send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm