systemEncoding top-level constant

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.13.0/dart-io/systemEncoding-constant.html