Python Unicode Error 'in' Statement -
so i'm trying use check see if string 'in' string. but, 1 of strings has '™' character isn't in default set of unicode characters python uses. code like:
if string in item.name: '''do something'''
where item.name has trademark symbol. how can still check see if string in item.name (string have trademark symbol , want check that). thanks!
>>> u'™' in u'©™®' true
Comments
Post a Comment