dart-lang / sdk

The Dart SDK, including the VM, dart2js, core libraries, and more.

Home Page:https://dart.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Encoding class does not support UTF- encodings

munificent opened this issue · comments

File.writeAsString() accepts an encoding. However, there are no instances of the Encoding class that map to any of the UTF- types except for UTF-8: no UTF-16, UTF-32, etc.

Added Area-IO, Triaged labels.

Yes, adding other UTF encoding is on the library roadmap.


Removed Area-IO label.
Added Area-Library label.

Set owner to @floitschG.
Added Accepted label.

Removed Type-Defect label.
Added Type-Enhancement label.

Dart Sass needs UTF-16 (both big- and little-endian) support to match other implementations' encoding support.