Index: sdk/lib/convert/utf.dart |
diff --git a/sdk/lib/convert/utf.dart b/sdk/lib/convert/utf.dart |
index 8b1a1e081b9f802d9d39e41c4d2ee4fd51643219..287d8ec8add7bd9e375a4a6ecf7a8a8a79806e30 100644 |
--- a/sdk/lib/convert/utf.dart |
+++ b/sdk/lib/convert/utf.dart |
@@ -335,7 +335,7 @@ class Utf8Decoder extends Converter<List<int>, String> { |
// of codeUnits. |
String result = _convertIntercepted(_allowMalformed, codeUnits, start, end); |
if (result != null) { |
- return null; |
+ return result; |
} |
int length = codeUnits.length; |