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>
Fixed indention. Fixed revert.

Signed-off-by: Sandon Van Ness <sandon@inktank.com>
Merge pull request #89 from SandonV/wip-unicode-chat-fix

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