апд:
обсуждение
https://mail.python.org/pipermail/tutor/2012-July/...в кодировке Windows 1251
это ты откуда взял?
cat str_*
stringstringstringстрокастрокастрока
file str_ru_text_1.txt
str_ru_text_1.txt: UTF-8 Unicode text, with no line terminators
file str_ru_text_2.txt
str_ru_text_2.txt: UTF-8 Unicode text, with no line terminators
file str_ru_bytes.txt
str_ru_bytes.txt: UTF-8 Unicode text, with no line terminators
file str_en_text_1.txt
str_en_text_1.txt: ASCII text, with no line terminators
file str_en_text_2.txt
str_en_text_2.txt: ASCII text, with no line terminators
file str_en_bytes.txt
str_en_bytes.txt: ASCII text, with no line terminators