Skip to content

Commit

Permalink
Add Text Encoding API (#2387)
Browse files Browse the repository at this point in the history
Co-authored-by: James Stuckey Weber <jamesnw@gmail.com>
  • Loading branch information
autonome and jamesnw authored Dec 4, 2024
1 parent 65618f5 commit 6e8a2df
Showing 2 changed files with 19 additions and 12 deletions.
11 changes: 8 additions & 3 deletions features/draft/spec/encoding.yml → features/text-encoding.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
draft_date: 2024-10-21
name: Encoding Standard
description: TODO
name: Text encoding and decoding
description: "The `TextEncoder` API transforms a stream of code points into a byte stream with UTF-8 encoding, and `TextDecoder` does the reverse."
spec: https://encoding.spec.whatwg.org/
caniuse: textencoder
# Status generated to match Caniuse.
status:
compute_from:
- api.TextDecoder
- api.TextEncoder
compat_features:
- api.TextDecoder
- api.TextDecoder.TextDecoder
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
# Generated from: encoding.yml
# Generated from: text-encoding.yml
# Do not edit this file by hand. Edit the source file instead!

status:
baseline: low
baseline_low_date: 2022-09-20
baseline: high
baseline_low_date: 2020-01-15
baseline_high_date: 2022-07-15
support:
chrome: "74"
chrome_android: "74"
chrome: "38"
chrome_android: "38"
edge: "79"
firefox: "105"
firefox_android: "105"
safari: "14.1"
safari_ios: "14.5"
firefox: "19"
firefox_android: "19"
safari: "10.1"
safari_ios: "10.3"
compat_features:
# baseline: high
# baseline_low_date: 2020-01-15
@@ -29,6 +30,7 @@ compat_features:
- api.TextEncoder.encode
- api.TextEncoder.encoding

# ⬇️ Same status as overall feature ⬇️
# baseline: high
# baseline_low_date: 2020-01-15
# baseline_high_date: 2022-07-15

0 comments on commit 6e8a2df

Please sign in to comment.