Difference between revisions of "ZIM file format"

Jump to navigation Jump to search
217 bytes added ,  10:55, 26 June 2011
Line 249: Line 249:


=== Integer Encoding ===
=== Integer Encoding ===
For integer encoding the same algorithm as UTF-8 encoding is used.
For integer encoding the same algorithm as UTF-8 encoding is used. This encoding is also known as "integer compression". It safes some bytes by using variable lengths of integer fields, depending on the actual value of the number.
 
See also http://en.wikipedia.org/wiki/UTF-8#Design.


Old Zeno files used the QUnicode library instead. By switching to UTF-8 the new format is more standard-adherent and easier to understand.
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