EPUB Filter

From Okapi Framework
Revision as of 14:21, 19 February 2023 by Jhargraveiii (talk | contribs) (Created page with "{{Filters Header}} ==Overview== This filter allows you to process EPUB (Electronic Publication) documents. ==Processing Details== ===Input Encoding=== The filter decides which encoding to use for the input file using the following logic: * If the file has a Unicode Byte-Order-Mark: ** Then, the corresponding encoding (e.g. UTF-8, UTF-16, etc.) is used. * Otherwise, the input encoding used is the default encoding that was specified when setting the filter options....")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Overview

This filter allows you to process EPUB (Electronic Publication) documents.

Processing Details

Input Encoding

The filter decides which encoding to use for the input file using the following logic:

  • If the file has a Unicode Byte-Order-Mark:
    • Then, the corresponding encoding (e.g. UTF-8, UTF-16, etc.) is used.
  • Otherwise, the input encoding used is the default encoding that was specified when setting the filter options.

Output Encoding

If the output encoding is UTF-8:

  • If the input encoding was also UTF-8, a Byte-Order-Mark is used for the output document only if one was detected in the input document.
  • If the input encoding was not UTF-8, no Byte-Order-Mark is used in the output document.

Parameters

At this time, this filter does not have an editor to create or modify its configuration file. You need to use a text editor to edit custom configurations.

Limitations

None known.