improve utf8_to_unicode function to support multi languages

Change-Id: I62a34b163f00fc15467d28b82c95ba40e10567e5