Versified Text Filter

From Okapi Framework
Jump to: navigation, search


The Versified Text Filter is designed to process versified text file. The files looks like the example below. The translatable text is highlighted:

Okapi Handbook

Some text

Processing Details

Input Encoding

The filter decides which encoding to use for the input document 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 opening the document.

Inline Codes

Any sequences {N}, where N is a number, is extracted as an inline code.


This filter has no parameters.


None known.