Re: [whatwg/encoding] Editorial: make ISO-2022-JP encoder perform error state switch (#236)

@annevk commented on this pull request.



> @@ -340,9 +346,9 @@ happening.
    <dd><a>Push</a> U+FFFD to <var>output</var>.
 
    <dt>"<code>html</code>"
-   <dd><a>Prepend</a> U+0026, U+0023, followed by the
-   shortest sequence of <a>ASCII digits</a> representing <var>result</var>'s
-   <a>code point</a> in base ten, followed by U+003B to <var>input</var>.
+   <dd><a>Push</a> the result of <a>UTF-8 encoding</a> U+0026 (&amp;), U+0023 (#), followed by the

The problem is that we don't have a definition of https://infra.spec.whatwg.org/#ascii-digit that's byte-oriented. I could inline one, "the shortest sequence of 0x30 (0) to 0x39 (9), inclusive, representing ... in base ten?" if that's preferable. I guess this is also a good moment to start using https://infra.spec.whatwg.org/#code-point-value.

-- 
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/236#discussion_r508470017

Received on Tuesday, 20 October 2020 12:47:02 UTC