example-code-2e/04-text-byte/encodings-win10.txt

12 lines
978 B
Plaintext
Raw Normal View History

2020-01-23 04:18:01 +01:00
<EFBFBD><EFBFBD> locale.getpreferredencoding() -> 'cp1252'
type(my_file) -> <class '_io.TextIOWrapper'>
my_file.encoding -> 'cp1252'
sys.stdout.isatty() -> False
sys.stdout.encoding -> 'cp1252'
sys.stdin.isatty() -> True
sys.stdin.encoding -> 'utf-8'
sys.stderr.isatty() -> True
sys.stderr.encoding -> 'utf-8'
sys.getdefaultencoding() -> 'utf-8'
sys.getfilesystemencoding() -> 'utf-8'