Commit 99bbf5dd authored by Georg Brandl's avatar Georg Brandl

Unicode howto: use .txt as a more universally understood extension for text files.

parent 65356fae
......@@ -537,7 +537,7 @@ like those in :meth:`str.encode` and :meth:`bytes.decode`.
Reading Unicode from a file is therefore simple::
with open('unicode.rst', encoding='utf-8') as f:
with open('unicode.txt', encoding='utf-8') as f:
for line in f:
print(repr(line))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment