Index: sdk/lib/utf/utf32.dart |
diff --git a/sdk/lib/utf/utf32.dart b/sdk/lib/utf/utf32.dart |
index 1e43f01dbc31f487d71cb8183e43326555bda99d..4db116eeb5875a00b9221c8dfd7bf16a01b4dc49 100644 |
--- a/sdk/lib/utf/utf32.dart |
+++ b/sdk/lib/utf/utf32.dart |
@@ -57,7 +57,7 @@ IterableUtf32Decoder decodeUtf32leAsIterable(List<int> bytes, [ |
*/ |
String decodeUtf32(List<int> bytes, [int offset = 0, int length, |
int replacementCodepoint = UNICODE_REPLACEMENT_CHARACTER_CODEPOINT]) { |
- return codepointsToString((new Utf32BytesDecoder(bytes, offset, length, |
+ return new String.fromCharCodes((new Utf32BytesDecoder(bytes, offset, length, |
replacementCodepoint)).decodeRest()); |
} |
/** |
@@ -70,7 +70,7 @@ String decodeUtf32(List<int> bytes, [int offset = 0, int length, |
String decodeUtf32be( |
List<int> bytes, [int offset = 0, int length, bool stripBom = true, |
int replacementCodepoint = UNICODE_REPLACEMENT_CHARACTER_CODEPOINT]) => |
- codepointsToString((new Utf32beBytesDecoder(bytes, offset, length, stripBom, |
+ new String.fromCharCodes((new Utf32beBytesDecoder(bytes, offset, length, stripBom, |
nweiz
2013/04/08 20:41:19
Line length.
|
replacementCodepoint)).decodeRest()); |
/** |
@@ -83,7 +83,7 @@ String decodeUtf32be( |
String decodeUtf32le( |
List<int> bytes, [int offset = 0, int length, bool stripBom = true, |
int replacementCodepoint = UNICODE_REPLACEMENT_CHARACTER_CODEPOINT]) => |
- codepointsToString((new Utf32leBytesDecoder(bytes, offset, length, stripBom, |
+ new String.fromCharCodes((new Utf32leBytesDecoder(bytes, offset, length, stripBom, |
nweiz
2013/04/08 20:41:19
Line length.
|
replacementCodepoint)).decodeRest()); |
/** |