how to make format operator % work with unicode as expected

Colin J. Williams fn681 at ncf.ca
Sun Jan 27 08:29:56 EST 2008


Peter Pei wrote:
> You didn't understand my question, but thanks any way.
> 
> Yes, it is true that %s already support unicode, and I did not 
> contradict that. But it counts the number of bytes instead of 
> characters, and makes things like %-20s out of alignment. If you don't 
> understand my assertion, please don't argue back and I am only 
> interested in answers from those who are qualified.


Peter,

Rudeness is inappropriate whether the 
person being attacked is
a frequent or infrequent contributer to 
this list.

Colin W



More information about the Python-list mailing list