How can I check a Python unicode string to see that it *actually* is proper Unicode?

前端 未结 5 854
一个人的身影
一个人的身影 2021-02-06 08:56

So I have this page:

http://hub.iis.sinica.edu.tw/cytoHubba/

Apparently it\'s all kinds of messed up, as it gets decoded properly but when I try to save it in po

5条回答
  •  鱼传尺愫
    2021-02-06 08:58

    In the end, I opted to just work around this, catch the error and rollback the transaction using Django's transaction management. I'm mystified as to why it would happen, though...

提交回复
热议问题