[Touch-packages] [Bug 1654688] Re: Printf does not properly justify non-ASCII characters

2017-07-28 Thread wjandrea
xhienne, that's a good point. My workaround is to switch to Python 3, which treats multi-byte chars the same as single-byte chars. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to bash in Ubuntu.

[Touch-packages] [Bug 1654688] Re: Printf does not properly justify non-ASCII characters

2017-06-16 Thread xhienne
In my opinion, this is not a bug (and probably not a feature either) but the expected behavior. bash's printf is a slightly modified version of the underlying printf() function provided by the C standard library. The printf(3) manual explicitly states that the precision is a number of _bytes_,