title: Java convert hex UTF8 to UTF-16
body: <p>I am being sent some transactions data (in json format) from mainframe by a data capture product. In the JSON, they are supposed to send a value which is mainframe timeOfDay (TOD) value indicating a transaction timestamp equivalent.
  Instead of sending a value "stck":"00d2fde04305b72642"</p>
  
  <p>they are instead sending me "stck":"\u00c3\u0092\u00c3\u00bd\u00c2\u00aa\u00c2\u009e\u001c\u00c2\u0089\u001cG"</p>
  
  <p>when I asked them why they said </p>
  
  <p>"the above ("stck":"00d2fde04305b72642") is binary data UTF-16 format. JSON doesn't work well with binary data so we have converted that to hex UTF-8 format. And that you can convert it back to UTF-16 on your side" </p>
  
  <p>I need help doing this in java. I have seen multiple questions but nothing that does exactly what I am trying to do that is convert hex UTF-8 to UTF-16 which should hopefully look like "00d2fde04305b72642"</p>
  
  <p>I have been able to find a question that shows how to convert this resulting TOD value ("stck":"00d2fde04305b72642") into transaction timestamp using java so I am covered on that part. </p>