formatting character table