2020-05-22

2020-05-22  本文已影响0人  sunshine35

转自:http://blog.csdn.net/a921800467b/article/details/8579510

编码问题:

python中的encode,decode方法=

首先,要知道encode是 unicode转换成str。decode是str转换成unicode。

前端base64加解密

转自:https://www.jianshu.com/p/4c5911455875

btoa("Condor Hero");

atob("Q29uZG9yIEhlcm8=");

btoa(encodeURIComponent("中文"));
btoa(decodeURIComponent("base编码"));
上一篇 下一篇

猜你喜欢

热点阅读