# Customize Character Set Detection and Conversion

KeyView attempts to detect the character set of an input file by default. Some character sets (including ANSI, UTF-8, and UTF-16) can be detected by core KeyView functionality but others can only be detected if your license includes advanced character set detection.

If your license includes advanced character set detection, it is enabled by default. However, it can increase the time required to filter some documents. You can disable advanced character set detection on a file-by-file basis, by setting character_set_detection to `FALSE`. Before setting this, be aware that KeyView can not perform character set conversion unless it detects the character set of the source file, or you set source_encoding.

When the character set of the input file is known, KeyView performs character set conversion. 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. 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 no_encoding_conversion to `TRUE`. This setting overrides any source or target character set specified through the API.

_FT_HTML5_bannerTitle.htm