HTML Encoding Types

Prev Next

In v37.0.12 and earlier and in v38.0.1, the only supported HTML encoding type is UTF-8.

We added support for Windows-1252 encoding in v37.0.13 and v38.0.2, along with the HTML_SUPPORTED_ENCODING_TYPES ".env" file variable. This variable allows you to customize the HTML encoding types your instance uses and the order in which they are used. By default, the system attempts to use UTF-8 encoding when processing HTML files before it attempts to use Windows-1252 encoding:

HTML_SUPPORTED_ENCODING_TYPES=utf-8,windows-1252

If you're using v37 versions v37.0.13 or later or v38.0.2 or later, you can change this variable's value to remove support for an encoding type or configure Windows-1252 to be the preferred encoding type in your instance.