Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

buffer: implement WHATWG Encoding Standard API #13644

Closed
wants to merge 1 commit into from

Commits on Jul 24, 2017

  1. util: implement WHATWG Encoding Standard API

    Provide an (initially experimental) implementation of the WHATWG Encoding
    Standard API (`TextDecoder` and `TextEncoder`). The is the same API
    implemented on the browser side.
    
    By default, with small-icu, only the UTF-8, UTF-16le and UTF-16be decoders
    are supported. With full-icu enabled, every encoding other than iso-8859-16
    is supported.
    
    This provides a basic test, but does not include the full web platform
    tests. Note: many of the web platform tests for this would fail by default
    because we ship with small-icu by default.
    
    A process warning will be emitted on first use to indicate that the
    API is still experimental. No runtime flag is required to use the
    feature.
    
    Refs: https://encoding.spec.whatwg.org/
    jasnell committed Jul 24, 2017
    Configuration menu
    Copy the full SHA
    5622e14 View commit details
    Browse the repository at this point in the history