Informix Error -79783: Encoding or code set not supported.
Cause and resolution
Encoding or code set not supported.
The encoding or code set entered in the DB_LOCALE or CLIENT_LOCALE variable is not valid.
For valid code sets, see the Informix JDBC Driver Driver Programmer's Guide.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-79783 fires when the encoding/code set given in DB_LOCALE or CLIENT_LOCALE is
invalid — per the official guidance.
- An invalid encoding/code set in
DB_LOCALE/CLIENT_LOCALE, per the official guidance — the direct, only cause.
Solutions / Resolution
- See the Informix JDBC Driver Programmer's Guide for valid code sets, per the official guidance, and correct the setting.
Examples
N/A
No specific triggering statement is documented beyond an invalid encoding/code set.
Diagnostic Checks
- Check the
DB_LOCALE/CLIENT_LOCALEvalue's code-set component against the documented valid code sets.
Related Errors / Related Topics
- -79784 — "Locale not supported." A related
DB_LOCALE/CLIENT_LOCALEerror, on the locale component rather than the code-set component.
An invalid encoding/code set was given in DB_LOCALE/CLIENT_LOCALE — check the
Programmer's Guide for valid code sets.