phthon专题

phthon踩雷(二):UnicodeEncodeError: ‘UCS-2‘ codec can‘t encode characters in position...

报错如下: UnicodeEncodeError: 'UCS-2' codec can't encode characters in position 3298-3298: Non-BMP character not supported in Tk 翻译一下就是: Unicode编码错误:'UCS-2’编码器不能编码在3298-3298这个位置的字符类: Non-BMP 字符类在Tk中不