Skip to content
This repository was archived by the owner on Aug 18, 2018. It is now read-only.
This repository was archived by the owner on Aug 18, 2018. It is now read-only.

support sametypesequence for stardict #14

@aw-bib

Description

@aw-bib

The sametypesequence stanza in the ifo file defines, which syntax is used in the definition block. Currently, penelope seems to allow only for m, which treats whatever as plain text. The following types are known to stardict

  • 'm' Word's pure text meaning. The data should be a utf-8 string ending with '\0'.
  • 'g' A utf-8 string which is marked up with the Pango text markup language.
  • 't' English phonetic string. The data should be a utf-8 string ending with '\0'.
  • 'x' A utf-8 string which is marked up with the xdxf language.
  • 'y' Chinese YinBiao or Japanese KANA. The data should be a utf-8 string ending with '\0'.
  • 'k' KingSoft PowerWord's data. The data is a utf-8 string ending with '\0'.
  • 'w' MediaWiki markup language.
  • 'h' Html codes.
  • 'n' WordNet data.
  • 'r' Resource file list.
  • 'X' this type identifier is reserved for experimental extensions.

cf. StarDict on Google Code for details.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions