我正在使用Python 3进行编程,我遇到了一个小问题,我在网上找不到它的任何引用.
据我所知,默认字符串是utf-16,但我必须使用utf-8,我找不到将默认字符串转换为utf-8的命令.我非常感谢你的帮助.
python utf-8 utf-16 character-encoding python-3.x
character-encoding ×1
python ×1
python-3.x ×1
utf-16 ×1
utf-8 ×1