Exercise23(utf-8, encode, decode, import sys, from sys import, strip,$OutputCod, chcp 65001)

ex23.py 輸出節選: ...... 進入python: 1、python3默認utf-8. 2、.encode() : encode string to bytes      .decode() : decode bytes to string 3、utf-8中文的編碼問題: 吳的utf-8編碼爲:E590BE  語的utf-8編碼爲:E8AFAD 漢字的utf-8編碼一般爲3個字節。utf
相關文章
相關標籤/搜索