How can I format unicode strings?

gentlestone tibor.beck at hotmail.com
Wed Sep 9 11:40:53 CEST 2009


 return u"{}".format(self.name)

this one doesn't work on unicode strings. I there a not old formatting
style possibilty for unicode strings?

Note: self.name can be unicode string!



More information about the Python-list mailing list