handle unicode better