On 30/7/2006, at 20:18, Charilaos Skiadas wrote:
Also it seems that Special characters like µ or ä change things?
Ah yes, this might be harder to solve. I use Ruby's String#length method, which doesn't count unicode characters properly in its current implementation. That would require a bit more thinking.
% ruby -rjcode -KU -e 'puts "µä".jlength' 2
However, as you use %«n»s for padding, and that one is not mb-aware, another approach would be needed for padding the columns.