Index: pkg/analyzer_experimental/bin/analyzer.dart |
diff --git a/pkg/analyzer_experimental/bin/analyzer.dart b/pkg/analyzer_experimental/bin/analyzer.dart |
index 119376fb0678728c5f028e892a552c7c44a3df94..d3c59f38cb7fd7908ea1dcd979255addd919b724 100644 |
--- a/pkg/analyzer_experimental/bin/analyzer.dart |
+++ b/pkg/analyzer_experimental/bin/analyzer.dart |
@@ -80,7 +80,7 @@ class BatchRunner { |
ErrorSeverity batchResult = ErrorSeverity.NONE; |
// read line from stdin |
Stream cmdLine = stdin |
- .transform(new StringDecoder()) |
+ .transform(UTF8.decoder) |
.transform(new LineSplitter()); |
var subscription = cmdLine.listen((String line) { |
// may be finish |