update to manage utf8 chars