update Python example encoding command

to match the other example encodings including the whole URL not just the data fragment
This commit is contained in:
David Bradway 2018-11-26 16:29:54 -05:00 committed by GitHub
parent 5292c4b789
commit dc1f66458d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -39,7 +39,7 @@ Encoding (Win Git/WSL)
Encoding (Python)
`base64.b64encode(lzma.compress(bytes("hello world",encoding="utf-8"), format=lzma.FORMAT_ALONE, preset=9))`
`'https://itty.bitty.site/#/'+base64.b64encode(lzma.compress(bytes("hello world",encoding="utf-8"), format=lzma.FORMAT_ALONE, preset=9)).decode("utf-8")`
Encoding (Node.js)