848
edits
m (→Clusters) |
|||
Line 241: | Line 241: | ||
Should you render the article contents by yourself you have to consider this and take care of it before you hand requests to zimlib. | 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. |