note 102586 added to ibm-db2.configuration

[email protected] Tue, 22 Feb 2011 19:00:17 -0800
Newsgroups php.notes
Message-ID <[email protected]>
The explanation of ibm_db2.i5_dbcs_alloc seems to be hard to understand for me.

In ibm_db2 extension inside, 6 times length of string column is allocated if i5_dbcs_alloc value is 1.
The allocated area is used for conversion between UTF-8 and EBCDIC character encodings.

By the definition of UTF-8, letter length can need 6 bytes at the maximum.

Note:
In the case of a long column, allocated size may be beyond the upper limit defined in DB2 because original column is made by 6 times.  It can cause result data becomes null.
----
Server IP: 219.94.145.73
Probable Submitter: 221.243.162.22
----
Manual Page -- http://www.php.net/manual/en/ibm-db2.configuration.php
Edit        -- https://master.php.net/note/edit/102586
Del: integrated  -- https://master.php.net/note/delete/102586/integrated
Del: useless     -- https://master.php.net/note/delete/102586/useless
Del: bad code    -- https://master.php.net/note/delete/102586/bad+code
Del: spam        -- https://master.php.net/note/delete/102586/spam
Del: non-english -- https://master.php.net/note/delete/102586/non-english
Del: in docs     -- https://master.php.net/note/delete/102586/in+docs
Del: other reasons-- https://master.php.net/note/delete/102586
Reject      -- https://master.php.net/note/reject/102586
Search      -- https://master.php.net/manage/user-notes.php