Currently fmt assumes that 1 byte= 1 column which creates wrongly formatted strings. Attached patch fixes it -- Regards Vladimir 'φ-coder/phcoder' Serbinenko