Skip to content

base64_cipher.py does not yet support Unicode #1027

@fbigun

Description

@fbigun

def encodeBase64(text):

root@localhost$ python3
Python 3.6.8 (default, Jan 14 2019, 11:02:34) 
[GCC 8.0.1 20180414 (experimental) [trunk revision 259383]] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> s="woshi谁"
>>> s
'woshi谁'
>>> encodeBase64(s)
'd29zaPUBA==='

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions