Skip to content


Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Commits on Oct 26, 2022

  1. Meta: my employer changed

    annevk committed Oct 26, 2022

Commits on Oct 17, 2022

Commits on Jun 20, 2022

Commits on Jan 24, 2022

  1. Expose APIs everywhere

    Ms2ger committed Jan 24, 2022

Commits on Dec 20, 2021

Commits on Jun 24, 2021

  1. Fix TextDecoderStream's behavior when processing the end of stream

    This change fixes TextDecoderStream's "flush and enqueue" algorithm to handle the end of the stream in the same way as a call to TextDecoder's decode() method with no parameters.
    Tests: web-platform-tests/wpt#29481.
    Fixes #263.
    andreubotella committed Jun 24, 2021

Commits on Jun 21, 2021

  1. Editorial: fix instances of prepend used with an end-of-queue item

    At various times in the ISO-2022-JP decoder and encoder, the prepend operation was being called with an end-of-queue item, even though that was made illegal in #215. This change removes those instances, in order to keep the same behavior as before #215.
    andreubotella committed Jun 21, 2021

Commits on Mar 23, 2021

Commits on Mar 3, 2021

  1. Editorial: fix typo

    ivan-pan committed Mar 3, 2021

Commits on Feb 27, 2021

  1. Document gb18030 decoder end-of-queue oddity

    Closes #253.
    annevk committed Feb 27, 2021

Commits on Jan 15, 2021

  1. Meta: default branch rename

    Helps with whatwg/meta#174.
    annevk committed Jan 15, 2021

Commits on Dec 24, 2020

  1. Review Draft Publication: December 2020

    annevk authored and foolip committed Dec 24, 2020

Commits on Nov 2, 2020

  1. Editorial: rename internal run algorithm

    "Run" is now "process a queue" and "process" is now "process an item".
    Also tidy up the error mode note and shorten the "process an item" algorithm.
    Closes #245.
    annevk committed Nov 2, 2020

Commits on Oct 27, 2020

Commits on Oct 26, 2020

  1. Clarify instance language around decoders and encoders

    And also stop defaulting error mode in "run" and "process".
    Fixes #240.
    annevk committed Oct 26, 2020

Commits on Oct 23, 2020

  1. Add get an encoder and encode or fail for URLs

    Since the ISO-2022-JP encoder is stateful (no other encoding is) the existing hooks were not adequately supporting the needs of URL percent-encoding which needs to handle output bytes differently from errors.
    Fixes #235.
    annevk committed Oct 23, 2020

Commits on Oct 22, 2020

  1. Reorganize hooks for standards

    And make some small editorial changes to the "run" and "process" algorithms.
    annevk committed Oct 22, 2020

Commits on Oct 21, 2020

  1. Editorial: make ISO-2022-JP encoder perform error state switch

    This avoids the need for "prepend" in the "process" algorithm as is needed to fix #235. 
    Additionally, this commit adds two clarifying asserts to the "process" algorithm documenting what error modes can be in effect when.
    Related tests: web-platform-tests/wpt#26158.
    annevk committed Oct 21, 2020

Commits on Oct 5, 2020

  1. Meta: raise does not work like print

    HarJIT committed Oct 5, 2020

Commits on Sep 29, 2020

  1. Meta: link Review Draft

    annevk committed Sep 29, 2020

Commits on Sep 21, 2020

  1. Clarify the usage the output I/O queues in the hooks

    An "output" parameter was added to the hooks for standards in #215, but no explanation was given as to why it was needed. This change adds that clarification.
    andreubotella committed Sep 21, 2020

Commits on Sep 15, 2020

  1. Use new Streams algorithm and mixins

    Follows whatwg/streams#1073.
    Co-authored-by: Andreu Botella <>
    Co-authored-by: Anne van Kesteren <>
    3 people committed Sep 15, 2020

Commits on Sep 8, 2020

  1. Rename streams to I/O queues

    This change renames the Encoding-specific concept of "streams", which
    had been causing confusion with readable/writable streams for years, to
    "I/O queues". It also refactors the I/O queue operations and exports the
    corresponding definitions.
    As part of this refactoring, "end-of-queue" (formerly "end-of-stream")
    becomes an optional item in the queue, indicating that the end of the
    streaming data has been reached and that no more data is expected. As a
    result, the "read" operation explicitly blocks when trying to read from
    an empty queue – a behavior that was previously left unstated.
    Closes #180.
    andreubotella committed Sep 8, 2020

Commits on Sep 7, 2020

  1. Meta: cleanup

    annevk committed Sep 7, 2020

Commits on Sep 1, 2020

  1. Meta: “UTF-8 or death”

    annevk committed Sep 1, 2020

Commits on Jun 29, 2020

  1. Meta: update repository files

    foolip authored and annevk committed Jun 29, 2020

Commits on Jun 15, 2020

Commits on Jun 14, 2020

  1. Meta: update repository files

    foolip authored and annevk committed Jun 14, 2020

Commits on May 29, 2020

  1. Editorial: remove a lone close parenthesis

    This was left over from #175.
    andreubotella authored and annevk committed May 29, 2020