update the UTF-8 encoding