python接收html提交的数据是什么编码格式

2025-06-20 19:08:19
推荐回答(1个)
回答1:

你的意思是将unicode转为utf8的编码格式吗?
如果是的话,转换操作如下:html.encode('utf-8')。其中html是你接收的字符串。