Re: Problem with format string and unicode

2008-03-28 Thread Gabriel Genellina
En Fri, 28 Mar 2008 17:13:00 -0300, Hans Martin <[EMAIL PROTECTED]> escribió: > this is probably a trivial problem, but a google search for "python" > and "unicode" and" format string" gives too many hits: If I specify > e.g. "%20s" in a format string and the string value contains UTF-8 > stuff

Re: Problem with format string and unicode

2008-03-28 Thread Marc 'BlackJack' Rintsch
On Fri, 28 Mar 2008 21:13:00 +0100, Hans Martin wrote: > this is probably a trivial problem, but a google search for "python" > and "unicode" and" format string" gives too many hits: If I specify > e.g. "%20s" in a format string and the string value contains UTF-8 > stuff (differing number of byte

Problem with format string and unicode

2008-03-28 Thread Hans Martin
Hi, this is probably a trivial problem, but a google search for "python" and "unicode" and" format string" gives too many hits: If I specify e.g. "%20s" in a format string and the string value contains UTF-8 stuff (differing number of bytes per character), the length of the resulting string (in ch