When using the onConvertError attribute in an XFD, an attempt to use onCovertError="value: something" failed to trigger an error with a null string, giving the impression the logic worked, when it really failed. The logic performing the conversions from UTF-8 to UTF-16 has been modified to take possible invalid UTF strings into account and to fail with an error message.