Change utf-8 identify method

Change utf-8 identify method