put covertToUTF8 in it's own module