[whatwg/encoding] Clarify that encoding tokens are scalar values. (#196)

This change changes some of the previous occurrences of the term "code point" for "scalar value", since it might not be clear to passing readers that output streams from decoding and input streams to encoding cannot contain tokens which are surrogate code points.

I haven't replaced the term "code point" in the indices section or in the handlers for the different encodings because those sections are heavy on numerical operations on code points, which aren't necessarily well-defined on scalar values. But perhaps the switch in terminology is more confusing than replacing the term throughout.

Fixes #195.
You can view, comment on, or merge this pull request online at:

  https://github.com/whatwg/encoding/pull/196

-- Commit Summary --

  * Clarify that encoding tokens are scalar values.

-- File Changes --

    M encoding.bs (29)

-- Patch Links --

https://github.com/whatwg/encoding/pull/196.patch
https://github.com/whatwg/encoding/pull/196.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/encoding/pull/196

Received on Saturday, 18 January 2020 04:57:42 UTC