Fix colors when unicode characters are in chat box (Online).

This is just hanubeki's patch which calculates accurate widths of
characters so colors don't get offset.

Signed-off-by: Sandon Van Ness <sandon@inktank.com>