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

@hsivonen requested changes 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

I suggest saying "0x26 (& encoded as UTF-8), 0x23 (# encoded as UTF-8)" and then "0x3B (; encoded as UTF-8)" to remove a layer of indirection.

-- 
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#pullrequestreview-512657420

Received on Tuesday, 20 October 2020 12:36:59 UTC