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

Unified Diff: sdk/lib/io/string_transformer.dart

Issue 1194883002: Improve the encoding/decoding to/from system encoding on Windows (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Addressed review comments from kustermann@ Created 5 years, 6 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
Index: sdk/lib/io/string_transformer.dart
diff --git a/sdk/lib/io/string_transformer.dart b/sdk/lib/io/string_transformer.dart
index 423a61c39d9da07d26e909d3989d570cfcfed1d3..02df9395764b17369ac16ccbd1325d613164cf18 100644
--- a/sdk/lib/io/string_transformer.dart
+++ b/sdk/lib/io/string_transformer.dart
@@ -5,6 +5,12 @@
part of dart.io;
/// The current system encoding.
+///
+/// This us used for converting from bytes to/from String when
+/// communicating on stdin/stdout and stderr.
Lasse Reichstein Nielsen 2015/06/23 13:08:50 -> stdin, stdout and stderr.
Søren Gjesse 2015/06/24 07:58:26 Done.
+///
+/// On Windows this will use the currently active code page for the
+/// conversion. On all other systems it will always use UTF-8.
const SystemEncoding SYSTEM_ENCODING = const SystemEncoding();
/**

Powered by Google App Engine
This is Rietveld 408576698