systemEncoding top-level constant Null safety

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()