W3cubDocs

/Dart 2

systemEncoding top-level constant

const systemEncoding = const SystemEncoding()

The current system encoding.

This us used for converting from bytes to/from String when communicating on stdin, stdout and stderr.

On Windows this will use the currently active code page for the conversion. On all other systems it will always use UTF-8.

Implementation

const SystemEncoding systemEncoding = const SystemEncoding()

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/2.0.0/dart-io/systemEncoding-constant.html