打印结果:
UnicodeEncodeError: 'gbk' codec can't encode character '\xbb' in position 8530: illegal multibyte sequence
并且输出的html页面出现乱码,不能正常显示:
将上面的代码变换下顺序,如下
输出结果为正常
2021-09-05 06:10:08
打印结果:
UnicodeEncodeError: 'gbk' codec can't encode character '\xbb' in position 8530: illegal multibyte sequence
并且输出的html页面出现乱码,不能正常显示:
将上面的代码变换下顺序,如下
输出结果为正常