ibmdb / python-ibmdb-django

IBM DB2 Driver for the Django application Framework
Apache License 2.0
29 stars 42 forks source link

Character conversion from the source code page #65

Closed warinsoul closed 3 years ago

warinsoul commented 3 years ago

Good afternoon, deploying apache server throws the [IBM] [CLI Driver] [DB2 / AIX64] SQL0332N Character conversion from the source code page "1251" to the target code page "819" is not supported. SQLCODE = -332. Locale settings virtualenvironment] $ locale LANG = ru_RU.CP1251 LC_CTYPE = "ru_RU.CP1251" LC_NUMERIC = "ru_RU.CP1251" LC_TIME = "ru_RU.CP1251" LC_COLLATE = "ru_RU.CP1251" LC_MONETARY = "ru_RU.CP1251" LC_MESSAGES = "ru_RU.CP1251" LC_PAPER = "ru_RU.CP1251" LC_NAME = "ru_RU.CP1251" LC_ADDRESS = "ru_RU.CP1251" LC_TELEPHONE = "ru_RU.CP1251" LC_MEASUREMENT = "ru_RU.CP1251" LC_IDENTIFICATION = "ru_RU.CP1251" LC_ALL = Setting up the environment virtualenvironment] $ echo $ LD_LIBRARY_PATH / home / virtualenvironment / clidriver / lib virtualenvironment] $ echo $ IBM_DB_HOME / home / virtualenvironment / clidriver Please help me to eliminate this error.

Thank you

warinsoul commented 3 years ago

Sorry, it was about the environment variables of the apache service