use fancy characters only if encoding is utf-8