Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Python: Python
Help with character encodings
 

Index | Next | Previous | View Flat


grg2 at comcast

May 20, 2008, 8:15 AM


Views: 72
Permalink
Help with character encodings

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?




--
http://mail.python.org/mailman/listinfo/python-list

Subject User Time
Help with character encodings grg2 at comcast May 20, 2008, 8:15 AM
    Re: Help with character encodings gherron at islandtraining May 20, 2008, 8:28 AM
        Re: Help with character encodings jcd at sdf May 20, 2008, 8:50 AM
        Re: Help with character encodings gherron at islandtraining May 20, 2008, 8:59 AM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.