Changelog entry for UTF-8 breaking change

Closes https://github.com/dart-lang/sdk/issues/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>
This commit is contained in:
Aske Simon Christensen 2020-05-04 10:48:32 +00:00 committed by commit-bot@chromium.org
parent 07d508b45f
commit 3efa014657

View file

@ -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