W3cubDocs

/Dart 2

systemEncoding top-level constant

const systemEncoding = const SystemEncoding()

The current system encoding.

This is used for converting from bytes to and from Strings 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.dart.dev/stable/2.5.0/dart-io/systemEncoding-constant.html