dart-sdk/runtime
cshapiro@google.com 9aca46d2a7 Implement support for reading and writing UTF-8 encoded strings.
In the past, characters in C strings were assumed to encode themselves
and when converting Dart strings to C strings characters were narrowed
to 8-bit values.

With this change, C strings are assumed to be UTF-8 encoded.
Converting a C string to a Dart string applies UTF-8 decoding and
converting a Dart string to a C string applies UTF-8 encoding.

Also part of this change are new methods to construct uninitialized
string objects and to copy string data.

BUG=5343358

Review URL: https://chromereviews.googleplex.com/3557012

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@169 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 22:42:24 +00:00
..
bin 5419598: Add a setjmp around the isolate spawning code so that parse errors 2011-10-06 18:33:36 +00:00
include 5419598: Add a setjmp around the isolate spawning code so that parse errors 2011-10-06 18:33:36 +00:00
lib Implement support for reading and writing UTF-8 encoded strings. 2011-10-06 22:42:24 +00:00
tests 5419598: Add a setjmp around the isolate spawning code so that parse errors 2011-10-06 18:33:36 +00:00
third_party/jscre Initial checkin. 2011-10-05 05:20:07 +00:00
tools Initial checkin. 2011-10-05 05:20:07 +00:00
vm Implement support for reading and writing UTF-8 encoded strings. 2011-10-06 22:42:24 +00:00
codereview.settings Remove the redundant codereview.settings. 2011-10-05 09:33:50 +00:00
dart-runtime.gyp Initial checkin. 2011-10-05 05:20:07 +00:00
PRESUBMIT.py Initial checkin. 2011-10-05 05:20:07 +00:00