Skip to content

Commit

Permalink
Changelog entry for UTF-8 breaking change
Browse files Browse the repository at this point in the history
Closes #41100

Change-Id: I91b39af42cfc6c738056e20c1a96cad6fd3cfde6
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/145785
Commit-Queue: Aske Simon Christensen <askesc@google.com>
Reviewed-by: Lasse R.H. Nielsen <lrn@google.com>
  • Loading branch information
askeksa authored and commit-bot@chromium.org committed May 4, 2020
1 parent 07d508b commit 3efa014
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,18 @@

### Core libraries

#### `dart:convert`

* **Breaking Change** [#41100][]: When encoding a string containing unpaired
surrogates as UTF-8, the unpaired surrogates will be encoded as replacement
characters (`U+FFFD`). When decoding UTF-8, encoded surrogates will be
treated as malformed input. When decoding UTF-8 with `allowMalformed: true`,
the number of replacement characters emitted for malformed input sequences
has been changed to match the [WHATWG encoding standard][].

[#41100]: https://github.com/dart-lang/sdk/issues/41100
[WHATWG encoding standard]: https://encoding.spec.whatwg.org/#utf-8-decoder

#### `dart:html`

* **Breaking Change**: `CssClassSet.add()` previously returned `null` if the
Expand Down

0 comments on commit 3efa014

Please sign in to comment.