I m not able to split unicode character \u2013 in the below code
actualdata=metatry['content'].split("-")
print "^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^"+actualdata[0]
dat=actualdata[0].split("\u2013")
print "^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^"+dat[0]
productlist.append(dat[0])
Output does not get rid of \u2013 even if its present
Would be helpful if someone helped me on this.
try adding
'u'to the'\u2013'asmetatry['content']is a unicode string: