Replacing "illegal characters" in html

BenO ben.nospam at ladeda.co.uk
Sun May 9 15:48:49 EDT 2004


Hi

I'm new to python and need to write a function to replace certain characters
in a string (html).

The characters I need to replace come from MS Word copy & paste and are:

' (Left quote)
' (Right quote)
Double Left quotes
Double Right quotes

Can anyone help me or point me in the right direction on an efficient way of
doing this?

Thanks

Ben





More information about the Python-list mailing list