Bug #71444 [Com]: Fatal termination of data length occurs in transforming from EBCDIC to UTF-8
| From: | amadesignworks10 at gmail dot com | Date: | Tue, 17 Aug 2021 12:43:40 +0000 |
| Subject: | Bug #71444 [Com]: Fatal termination of data length occurs in transforming from EBCDIC to UTF-8 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-235903@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=71444&edit=1
ID: 71444
Comment by: amadesignworks10 at gmail dot com
Reported by: ta_nakagawa at ysco dot net
Summary: Fatal termination of data length occurs in
transforming from EBCDIC to UTF-8
Status: Open
Type: Bug
Package: ODBC related
Operating System: Windows 7 / Windows 2012 R2
PHP Version: 5.6.17
Block user comment: N
Private report: N
New Comment:
me too having bugs
https://amadesignworks.com/product/uv-dispensing-equipment/
Previous Comments:
------------------------------------------------------------------------
[2020-10-06 07:35:30] cmb@php.net
Thanks for the swift feedback!
I see the problem, but I'm not happy with the suggested solution
of generally allocating large strings; I'd rather find a more
specialized solution.
------------------------------------------------------------------------
[2020-10-06 03:52:48] ta_nakagawa at ysco dot net
Unfortunately, I don't have an environment to test using AS400.
So I can't test the problem with the current supported version.
However, if the code associated with this issue hasn't changed, the same issue likely remains.
Thanks.
------------------------------------------------------------------------
[2020-10-05 12:47:43] cmb@php.net
If you still experience this issue with any of the actively
supported PHP versions[1], please provide an ODBC trace of running
the given test script.
[1] <https://www.php.net/supported-versions.php>
------------------------------------------------------------------------
[2016-04-18 15:36:13] ta_nakagawa at ysco dot net
What's the status now?
We think the appropriate solution for this problem was selected.
When a maintainer is assigned, Could you deal with the problem?
------------------------------------------------------------------------
[2016-03-12 12:47:16] ta_nakagawa at ysco dot net
Thanks for your comment.
It is difficult to determine whether the charset of the column of type CHAR is EBCDIC or not. (But A
character of charset EBCDIC is usualy inserted a column of type CHAR.) We cannot get the charset
information from the driver via ODBC to AS/400. I also think that the fix using the condition with
HAVE_IBMDB2 is appropriate.
When a user faces a similar situation with our case, a official PHP binary does not solve the
problem. It is needed the PHP compiled with the configure option "--with-ibm-db2". Could a
php user get a guidance to introduce PHP connecting to DB2, such as described above?
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=71444
--
Edit this bug report at https://bugs.php.net/bug.php?id=71444&edit=1