Adding The Generate utf string

this function generates the data sent over tcp
this string must be parsed by the client