Java2Dart - String Encoding

DART language from Google is only in M1 release. However, it is interesting to compare it with Java. This blog entry will compare String encoding in both languages.

In JAVA, String class uses encodings intensively. For example its constructors receive a Charset class , and throws UnsupportedEncodingException .

DART way of handling this issue, is far more simple. Its String class supports only UTF-16. Clean and simple.