Cause
This error occurs when converting UTF16 data to a different encoding scheme (UTF8, ANSI + locale, UTF32, and so on) and the source data contained an invalid or incomplete UTF16 surrogate pair.
Action
Review the data and then fix or remove the bad surrogate pairs.