note 129754 added to ref.pdo-ibm.connection
| From: | user274091@gmail.com | Date: | Mon, 16 Sep 2024 09:59:13 +0000 |
| Subject: | note 129754 added to ref.pdo-ibm.connection | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-221538@lists.php.net to get a copy of this message | ||
To correctly display and otherwise handle strings from Db2 in php you should set an environmental
variable DB2CODEPAGE. For UTF-8 database it is usually 1208.
For example, put
env[DB2CODEPAGE] = 1208
in your /etc/php-fpm.d/www.conf file.
----
Server IP: 45.112.84.4
Probable Submitter: 45.112.84.18 (proxied: 82.79.186.208)
----
Manual Page -- https://php.net/manual/en/ref.pdo-ibm.connection.php
Edit -- https://main.php.net/note/edit/129754
Del: integrated -- https://main.php.net/note/delete/129754/integrated
Del: useless -- https://main.php.net/note/delete/129754/useless
Del: bad code -- https://main.php.net/note/delete/129754/bad+code
Del: spam -- https://main.php.net/note/delete/129754/spam
Del: non-english -- https://main.php.net/note/delete/129754/non-english
Del: in docs -- https://main.php.net/note/delete/129754/in+docs
Del: other reasons-- https://main.php.net/note/delete/129754
Reject -- https://main.php.net/note/reject/129754
Search -- https://main.php.net/manage/user-notes.php