python中gbk、utf-8、ascii、Unicode的关系是什么?

2025-04-07 17:48:55
推荐回答(1个)
回答1:

gbk是中文编码,utf-8和unicode一样是通用编码,ascii和前三者不是一类的。
一般都是用utf-8,一般不会出问题。