[whatwg/encoding] gb18030 decoder: unset state before returning (#153)

Due to an oversight in #111 the gb18030 decoder didn't always reset state before returning after a four-byte sequence.

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

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

-- Commit Summary --

  * gb18030 decoder: unset state before returning

-- File Changes --

    M encoding.bs (3)

-- Patch Links --

https://github.com/whatwg/encoding/pull/153.patch
https://github.com/whatwg/encoding/pull/153.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/153

Received on Thursday, 30 August 2018 10:01:42 UTC