Can someone help me with this?
My problem is like this... There is a string "India is" ... Then there is a unicode string
Now if I try unicode("India is") I get an error like "'ascii' codec can't decode byte 0xa0 in position 8: ordinal not in range(128)". So what shud i do to counter this?

>>> unicode("India is")
u'India is'

Dunno. What version of Python are you running?

Jeff

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.