FasterXML / smile-format-specification

New home for Smile format (https://en.wikipedia.org/wiki/Smile_(data_interchange_format))
BSD 2-Clause "Simplified" License
92 stars 14 forks source link

Clarify string-length encoding differences between ASCII & UTF-8 #11

Closed jviotti closed 3 years ago

jviotti commented 3 years ago

The formulas for obtaining the resulting string length are slightly different on the Tiny/Small ASCII encodings compared to the Tiny/Small UTF-8 encodings. The differences are small enough to go undetected. The clarification notes aim the highlight such differences.

This commit also fixes the indendation of the Tiny ASCII and Small ASCII lists.

See: https://github.com/FasterXML/smile-format-specification/pull/9 Signed-off-by: Juan Cruz Viotti jv@jviotti.com

cowtowncoder commented 3 years ago

Thank you!