Skip to content

Commit 0e89c5a

Browse files
committed
fix(docs): Ascii85 is an ISO standard via PDF 2.0
1 parent fba5dde commit 0e89c5a

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

Doc/library/base64.rst

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,10 @@
1616
This module provides functions for encoding binary data to printable
1717
ASCII characters and decoding such encodings back to binary data.
1818
This includes the :ref:`encodings specified in <base64-rfc-4648>`
19-
:rfc:`4648` (Base64, Base32 and Base16)
20-
and the non-standard :ref:`Base85 encodings <base64-base-85>`.
19+
:rfc:`4648` (Base64, Base32 and Base16), the :ref:`Base85 encoding
20+
<base64-base-85>` specified in `PDF 2.0
21+
<https://pdfa.org/resource/iso-32000-2/>`_, and non-standard variants
22+
of Base85 used elsewhere.
2123

2224
There are two interfaces provided by this module. The modern interface
2325
supports encoding :term:`bytes-like objects <bytes-like object>` to ASCII
@@ -353,3 +355,13 @@ recommended to review the security section for any code deployed to production.
353355
Section 5.2, "Base64 Content-Transfer-Encoding," provides the definition of the
354356
base64 encoding.
355357

358+
`Binary-to-text encoding <https://en.wikipedia.org/wiki/Binary-to-text_encoding>`_
359+
This Wikipedia article describes the history of binary to text
360+
encoding techniques including those implemented by this module.
361+
362+
`ISO 32000-2 Portable document format - Part 2: PDF 2.0 <https://pdfa.org/resource/iso-32000-2/>`_
363+
Section 7.4.3, "ASCII85Decode Filter," provides the definition
364+
of the standard base85 encoding used in PDF and PostScript.
365+
366+
`ZeroMQ RFC 32/Z85 <https://rfc.zeromq.org/spec/32/>`_
367+
The "Formal Specification" section provides the character set used in Z85.

0 commit comments

Comments
 (0)