Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Dennis Lee Bieber Newsgroups: comp.lang.python Subject: Re: base64.b64encode(data) Date: Mon, 13 Jun 2016 20:20:43 -0400 Organization: IISS Elusive Unicorn Lines: 19 Message-ID: References: <575e18f1$0$1588$c3e8da3$5496439d@news.astraweb.com> <1465788057.2854167.635655857.445F242C@webmail.messagingengine.com> <575e4198$0$1588$c3e8da3$5496439d@news.astraweb.com> <1465795993.2881334.635716385.023A423E@webmail.messagingengine.com> <575e8c77$0$1599$c3e8da3$5496439d@news.astraweb.com> <1465824966.3931239.636067473.06E0521B@webmail.messagingengine.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: news.uni-berlin.de Vz8v6gu9iKcudeke+OT47gi2fyXul/WsPdjs2z6c4FBw== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'lesser': 0.07; 'mentioned,': 0.07; 'pretend': 0.07; 'subject:skip:b 10': 0.07; 'base64': 0.09; 'message-id:@4ax.com': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'output': 0.13; '2016': 0.16; '8-bit': 0.16; 'ascii,': 0.16; 'ebcdic': 0.16; 'ebcdic,': 0.16; 'encodings,': 0.16; 'received:80.91.229.3': 0.16; 'received:io': 0.16; 'received:plane.gmane.org': 0.16; 'received:psf.io': 0.16; 'tape': 0.16; 'byte': 0.18; 'url:home': 0.18; 'ascii': 0.22; 'mon,': 0.24; 'sort': 0.25; 'appear': 0.26; 'header:X-Complaints- To:1': 0.26; 'moved': 0.27; 'character': 0.29; 'another': 0.32; 'could': 0.35; 'unicode': 0.35; 'but': 0.36; 'to:addr:python- list': 0.36; 'subject:: ': 0.37; 'received:org': 0.37; 'charset :us-ascii': 0.37; 'to:addr:python.org': 0.40; 'still': 0.40; 'per': 0.62; 'safe': 0.63; 'paper': 0.73; 'dennis': 0.91; 'received:108': 0.93 X-Injected-Via-Gmane: http://gmane.org/ X-Gmane-NNTP-Posting-Host: adsl-108-68-178-191.dsl.klmzmi.sbcglobal.net X-Newsreader: Forte Agent 6.00/32.1186 X-No-Archive: YES X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Mailman-Original-Message-ID: X-Mailman-Original-References: <575e18f1$0$1588$c3e8da3$5496439d@news.astraweb.com> <1465788057.2854167.635655857.445F242C@webmail.messagingengine.com> <575e4198$0$1588$c3e8da3$5496439d@news.astraweb.com> <1465795993.2881334.635716385.023A423E@webmail.messagingengine.com> <575e8c77$0$1599$c3e8da3$5496439d@news.astraweb.com> <1465824966.3931239.636067473.06E0521B@webmail.messagingengine.com> Xref: csiph.com comp.lang.python:109919 On Mon, 13 Jun 2016 09:36:06 -0400, Random832 declaimed the following: > >Sure. But let's not pretend that U+0020 through U+007E *aren't* unicode >characters. Base 64's output is characters. Those characters could be >encoded as ASCII, as UTF-32, as EBCDIC, and they would still be the same >characters. > But, as mentioned, ASCII and (to a lesser extant) EBCDIC are 1-byte per character encodings, and are safe on 8-bit transports (ASCII on 7-bit!) since no single byte of BASE64 would appear as any sort of control character... The transport could include a stage punching a paper tape which is manually moved to another system for reading. -- Wulfraed Dennis Lee Bieber AF6VN wlfraed@ix.netcom.com HTTP://wlfraed.home.netcom.com/