[Baypiggies] Handling unwanted Unicode \u2019 characters in XML

Matt Good matt at matt-good.net
Wed Jul 2 01:55:43 CEST 2008


On Jul 1, 2008, at 3:36 PM, Stephen McInerney wrote:

> it seems like I really want a Unicode version of string.maketrans()  
> and string.translate(), which is deprecated.

No, neither of those are deprecated.  The only deprecated functions in  
the string module are the ones listed here:
http://docs.python.org/lib/node42.html

-- Matt	


More information about the Baypiggies mailing list