dart-lang / sdk

The Dart SDK, including the VM, JS and Wasm compilers, analysis, core libraries, and more.
https://dart.dev
BSD 3-Clause "New" or "Revised" License
10.31k stars 1.59k forks source link

Encoding class does not support UTF- encodings #11744

Open munificent opened 11 years ago

munificent commented 11 years ago

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.

iposva-google commented 11 years ago

Added Area-IO, Triaged labels.

andersjohnsen commented 11 years ago

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


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

floitschG commented 11 years ago

Set owner to @floitschG. Added Accepted label.

lrhn commented 10 years ago

Added Library-Convert label.

lrhn commented 10 years ago

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

nex3 commented 7 years ago

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