UnicodeEncodeError: 'UCS-2' codec can't encode characters in position 8-8: Non-BMP character not sup
生活随笔
收集整理的這篇文章主要介紹了
UnicodeEncodeError: 'UCS-2' codec can't encode characters in position 8-8: Non-BMP character not sup
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
場景
報錯信息如下:
UnicodeEncodeError: 'UCS-2' codec can't encode characters in position 8-8: Non-BMP character not supported in Tk解決
Python自帶的編輯器IDLE無法輸出特殊字符。
改為Pycharm運行程序即可。
總結
以上是生活随笔為你收集整理的UnicodeEncodeError: 'UCS-2' codec can't encode characters in position 8-8: Non-BMP character not sup的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: MyBatisPLus入门项目实战各教程
- 下一篇: WebService入门简介教程