Replacing utf-8 characters

"Martin v. Löwis" martin at
Thu Oct 6 00:17:42 CEST 2005

Mike wrote:
> So it seems link.replace() function reads whether the first option is 
> utf-8 and converts the second option automatically to utf-8?  How do I 
> prevent that?

Not sure what an option is... if you are talking about parameters,
rest assured that <string>.replace does not know or care whether any
of its parameters is encoded in UTF-8. Also not sure where you got
the impression UTF-8 could have to do anything with this.


More information about the Python-list mailing list