Help with character encodings

A_H grg2 at comcast.net
Tue May 20 11:15:32 EDT 2008


Help!

I've scraped a PDF file for text and all the minus signs come back as
u'\xad'.

Is there any easy way I can change them all to plain old ASCII '-' ???

str.replace complained about a missing codec.



Hints?







More information about the Python-list mailing list