Skip to content

Commit

Permalink
Merge pull request #157 from sudipbhandari126/patch-1
Browse files Browse the repository at this point in the history
more info on encoding and utf-8
  • Loading branch information
yasoob committed Dec 28, 2017
2 parents 79fcea3 + beb15c1 commit 6f16960
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions open_function.rst
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ and does the right thing. You can pass in the encoding with the
Python -- specific default will be picked. You may be tempted to rely on
these defaults, but the defaults are often wrong, or the default
encoding cannot actually express all characters in the file (this will happen often on
Python 2.x and/or Windows). So go ahead and pick an encoding. ``utf-8``
is a terrific one. When you write a file, you can just pick the encoding
Python 2.x and/or Windows). So go ahead and pick an encoding. Encoding is the way to instruct computers about how the numbers should be stored as bytes in memory. ``utf-8``
is a terrific one and is supported by major browsers and programming languages. When you write a file, you can just pick the encoding
to your liking (or the liking of the program that will eventually read
your file).

Expand Down

0 comments on commit 6f16960

Please sign in to comment.