Replacing utf-8 characters

"Martin v. Löwis" martin at v.loewis.de
Wed Oct 5 18:17:42 EDT 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.

Regards,
Martin



More information about the Python-list mailing list