Skip to content

Commit 4c0fc65

Browse files
authored
bpo-45277: Fix typo in codecs doc (GH-28555)
encoding => encode
1 parent 6bc8911 commit 4c0fc65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/codecs.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -926,7 +926,7 @@ it's a device to determine the storage layout of the encoded bytes, and vanishes
926926
once the byte sequence has been decoded into a string; as a ``ZERO WIDTH
927927
NO-BREAK SPACE`` it's a normal character that will be decoded like any other.
928928

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

0 commit comments

Comments
 (0)