Re: [whatwg/encoding] ISO 2022-jp encoding/decoding support (#60)

> What it means is that they're to be prepended together in the order specified as specified at https://encoding.spec.whatwg.org/#concept-stream-prepend. I'm not sure how you can read it any other way.

I read 

> those tokens must be inserted, in given order

as "insert the first one, and then insert the second one".  Depends whether 'in given order' refers to 'insert' or 'the tokens'. I read it as "prepend lead, then byte to stream". (I'll admit that i was following the wording rather than the deep logic of what was going on.)

Something like you just said may be clearer, eg. Prepend lead and byte together to stream.


-- 
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/issues/60#issuecomment-321360031

Received on Wednesday, 9 August 2017 19:40:03 UTC