pub fn platform_text_encoding() -> Option<&'static Encoding>Expand description
Returns the platform-local text encoding used for legacy text files.
On Windows this is the ANSI code page returned by GetACP; on other
platforms there is no legacy fallback and UTF-8 remains the only implicit
text encoding.