A
Allen Fowler
Hello,
I've been using "data.encode('ascii','replace')" to force an ASCII string out of Unicode data, with "?" in the place of non-ASCII letters.
However, now I want to use a blank space (or maybe a dash) instead of a question mark.
How do I do this?
Thank you,

I've been using "data.encode('ascii','replace')" to force an ASCII string out of Unicode data, with "?" in the place of non-ASCII letters.
However, now I want to use a blank space (or maybe a dash) instead of a question mark.
How do I do this?
Thank you,