Skip to content

Commit 2a7d985

Browse files
bpo-45277: Fix typo in codecs doc (GH-28555)
encoding => encode (cherry picked from commit 4c0fc65) Co-authored-by: Terry Jan Reedy <[email protected]>
1 parent 91a5ba1 commit 2a7d985

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/codecs.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -920,7 +920,7 @@ it's a device to determine the storage layout of the encoded bytes, and vanishes
920920
once the byte sequence has been decoded into a string; as a ``ZERO WIDTH
921921
NO-BREAK SPACE`` it's a normal character that will be decoded like any other.
922922

923-
There's another encoding that is able to encoding the full range of Unicode
923+
There's another encoding that is able to encode the full range of Unicode
924924
characters: UTF-8. UTF-8 is an 8-bit encoding, which means there are no issues
925925
with byte order in UTF-8. Each byte in a UTF-8 byte sequence consists of two
926926
parts: marker bits (the most significant bits) and payload bits. The marker bits

0 commit comments

Comments
 (0)