- From: Henri Sivonen <notifications@github.com>
- Date: Mon, 20 Mar 2017 00:02:15 -0700
- To: whatwg/encoding <encoding@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 20 March 2017 07:02:49 UTC
> I was going to add that encoders do not need an additional buffer at all, but what about the ISO-2022-JP encoder? The encoders are all stateless, except for the ISO-20222-JP encoder, and the only piece of state it needs is ASCII/Roman/JIS0208. No buffer needed. (Additionally, the only reason the encoders need to process EOF is to transition ISO-2022-JP back into the ASCII state. Even the ISO-2022-JP encoder even without EOF signaling would produce a stream that decodes without errors.) > (I added what the single-byte buffer would contain by the way.) Thank you. -- 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/84#issuecomment-287688902
Received on Monday, 20 March 2017 07:02:49 UTC