Informix Error -26049: Function (explain_sql) has invalid encoding (%s) for xml_input.
Cause and resolution
Function (explain_sql) has invalid encoding (%s) for xml_input.
Xml_input should be in UTF-8 encoding.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-26049 fires when explain_sql's xml_input argument isn't UTF-8 encoded — per the
official guidance.
xml_inputprovided in an encoding other than UTF-8, per the official guidance — the direct, only cause.
Solutions / Resolution
- Encode
xml_inputin UTF-8, per the official guidance.
Examples
N/A
No specific triggering statement is documented beyond a non-UTF-8 xml_input value.
Diagnostic Checks
- Check the encoding of the value passed as
xml_input, and re-encode it as UTF-8 if needed.
Related Errors / Related Topics
No closely related error codes are cross-referenced for -26049 in this set yet.
explain_sql's xml_input argument wasn't UTF-8 encoded — re-encode it as UTF-8.