enocoding id to utf-8