add better utf8 support.