more utf8 improvements