better utf8 entities support