Cleaning UTF8 class

Syntax and code cleaning of UTF8 class.