Removed unnecessary encode('utf-8') directives.