File Content Extraction 26.1
Filter SDK C Programming Guide

# 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 1997-2025 Open Text
Version 26.1 | Last updated January 2026

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: File Content Extraction 26.1

Topic Title: xxxCharSet()