Jump to: navigation, search

ZIM file format

617 bytes added, 10:49, 26 June 2011
no edit summary
Should you render the article contents by yourself you have to consider this and take care of it before you hand requests to zimlib.
== Encodings ==
=== Character Encoding ===
The standard encoding for ZIM file content is UTF-8. So both article data and URLs should be handled accordingly.
Old Zeno files used a mixture of Latin1 and UTF-8 so there is still some "auto detection" code left in the ''zimlib'', a workaround for this bug. This will be removed in future versions. Zeno files are not supported anymore.
=== Integer Encoding ===
For integer encoding the same algorithm as UTF-8 encoding is used.
Old Zeno files used the QUnicode library instead. By switching to UTF-8 the new format is more standard-adherent and easier to understand.

Navigation menu