Encoding class does not support UTF- encodings
munificent opened this issue · comments
Bob Nystrom commented
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.
Ivan Posva commented
Anders Johnsen commented
Yes, adding other UTF encoding is on the library roadmap.
Removed Area-IO label.
Added Area-Library label.
Florian Loitsch commented
Set owner to @floitschG.
Added Accepted label.
Lasse R.H. Nielsen commented
Added Library-Convert label.
Lasse R.H. Nielsen commented
Removed Type-Defect label.
Added Type-Enhancement label.
Natalie Weizenbaum commented
Dart Sass needs UTF-16 (both big- and little-endian) support to match other implementations' encoding support.