Skip to content

Commit 371ca3b

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 402d5f3 commit 371ca3b

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
@@ -923,7 +923,7 @@ it's a device to determine the storage layout of the encoded bytes, and vanishes
923923
once the byte sequence has been decoded into a string; as a ``ZERO WIDTH
924924
NO-BREAK SPACE`` it's a normal character that will be decoded like any other.
925925

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

0 commit comments

Comments
 (0)