want c code utf 8 to utf 16 converter in C

i have a text file containing utf-8 hex encoding .Have to convert it to utf-16 encoding and take the encodings in other text file

Read this it may help.