Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2609)

Unified Diff: pkg/intl/test/message_extraction/message_extraction_test.dart

Issue 12645010: Intl test spawning processes must specify the encoding for stdout (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/intl/test/message_extraction/message_extraction_test.dart
diff --git a/pkg/intl/test/message_extraction/message_extraction_test.dart b/pkg/intl/test/message_extraction/message_extraction_test.dart
index ff45d3e12e73b0be52e5a2ae6398b07fbd830c17..0b00fdb99f8a8fb3d6137a3686ee3f7ae815eb6b 100644
--- a/pkg/intl/test/message_extraction/message_extraction_test.dart
+++ b/pkg/intl/test/message_extraction/message_extraction_test.dart
@@ -97,6 +97,9 @@ Future<ProcessResult> run(ProcessResult previousResult, List<String> filenames)
..add(filesInTheRightDirectory.first)
..addAll(["--output-dir=${dir()}"])
..addAll(filesInTheRightDirectory.skip(1));
+ var options = new ProcessOptions()
+ ..stdoutEncoding=Encoding.UTF_8
+ ..stderrEncoding=Encoding.UTF_8;
var result = Process.run(dart, args);
return result;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698