dart-lang/sdk

Encoding class does not support UTF- encodings

munificent opened this issue · 6 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.

lrhn commented

Added Library-Convert label.

lrhn commented

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

nex3 commented

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