Center messages using custom charsets correctly