KeyView 23.3

# Prevent the Default Conversion of a Character Set

You can prevent the default conversion of text to the operating system code page, and specify that Filter retain the original character encoding of the document when it is available. Any document identified as containing more than one character encoding is converted to the first encoding encountered in the file.

To prevent the default conversion, set the flag `FILTERFLAG_NODEFAULTCHARSETCONVERT` when you instantiate the Filter object. For example:

    Filter objFilter = new Filter("YOUR_KEYVIEW_LICENSE", Charset.KVCS_UTF8,
        FilterConstant.FilterFlagsConstant.FILTERFLAG_NODEFAULTCHARSETCONVERT);

This setting overrides the source or target character set specified in the API.

Copyright 2016-2023 Open Text
Version 23.3 | Last updated June 2023

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 swpdl.idoldocsfeedback@microfocus.com.

We appreciate your feedback!

Product: IDOL KeyView 23.3

Topic Title: Prevent the Default Conversion of a Character Set