readium / lcp-specs

🔐 Releases, drafts and schema for Readium LCP
https://readium.org/lcp-specs/
BSD 3-Clause "New" or "Revised" License
10 stars 5 forks source link

UTF-8 (United Character Set code point value) #19

Closed murata2makoto closed 5 years ago

murata2makoto commented 6 years ago

This phrase in LCP is very confusing. Unicode "code point" is correct.

llemeurfr commented 5 years ago

I propose to change the wording as: All object members (name/value pairs) of the License Document must be sorted in lexicographical order of their names according to their representation as Unicode code point.

danielweck commented 5 years ago

All object members (name/value pairs) of the License Document must be sorted in lexicographical order of their names according to their representation as Unicode code point.

See: https://json-schema.org/understanding-json-schema/reference/object.html

So I would like to propose:

The JSON object properties (i.e. key/value pairs) in the License Document must be lexicographically sorted by Unicode Code Point.

Also see: https://matrix.org/docs/spec/appendices#canonical-json