Discussion:
[dart-misc] [dart-announce] BREAKING CHANGE: stdout and stderr on Windows now use binary mode
'Søren Gjesse' via Dart Announcements
2015-07-10 14:38:36 UTC
Permalink
I just landed 4205b29 with a breaking change to dart:io on Windows. It
switches stdout and stderr from "text" to "binary" mode. What this means is
that the automatic CR (0x0d) insertion before LF (0x0a) will no longer
happen.

For Dart programs producing binary output on stdout (and stderr) this fixes
a real issue. For Dart programs which produce text output most tools should
be able to handle both the LF and the CRLF cases.

Regards,
SÞren

---
SÞren Gjesse
Software Engineer, Google Denmark
CVR nr. 28 86 69 84
--
For more news and information, visit https://plus.google.com/+dartlang

To join the conversation, visit https://groups.google.com/a/dartlang.org/
--
For other discussions, see https://groups.google.com/a/dartlang.org/

For HOWTO questions, visit http://stackoverflow.com/tags/dart

To file a bug report or feature request, go to http://www.dartbug.com/new

To unsubscribe from this group and stop receiving emails from it, send an email to misc+***@dartlang.org.
Jos Hirth
2015-07-14 20:32:47 UTC
Permalink
Glad to hear that binary mode is back. Thanks, SÞren! :)

On Friday, July 10, 2015 at 4:39:01 PM UTC+2, 'SÞren Gjesse' via Dart
Post by 'Søren Gjesse' via Dart Announcements
I just landed 4205b29 with a breaking change to dart:io on Windows. It
switches stdout and stderr from "text" to "binary" mode. What this means is
that the automatic CR (0x0d) insertion before LF (0x0a) will no longer
happen.
For Dart programs producing binary output on stdout (and stderr) this
fixes a real issue. For Dart programs which produce text output most tools
should be able to handle both the LF and the CRLF cases.
Regards,
SÞren
---
SÞren Gjesse
Software Engineer, Google Denmark
CVR nr. 28 86 69 84
--
For more news and information, visit https://plus.google.com/+dartlang
To join the conversation, visit https://groups.google.com/a/dartlang.org/
--
For other discussions, see https://groups.google.com/a/dartlang.org/

For HOWTO questions, visit http://stackoverflow.com/tags/dart

To file a bug report or feature request, go to http://www.dartbug.com/new

To unsubscribe from this group and stop receiving emails from it, send an email to misc+***@dartlang.org.
Loading...