Updated  comments for function memory_to_utf8