Uh oh!
There was an error while loading. Please reload this page.
Fix bug #54379 PDO_OCI: UTF-8 output gets truncated - #542
Conversation
ghost
commented
Mar 7, 2015
Can one of the admins verify this patch? |
The reason nobody has moved on this is because the PR hasn't created a good discussion, what we need is people intimately familiar with this code to review the patch. What I suggest is that you start a discussion on internals, this should draw out some commentators and help to build a consensus that this is a good solution. Sorry it has taken so long :) PS. this needs a reabse |
gureedo
commented
Jan 4, 2017
I've deleted my fork about a year ago. Now I forked php-src again, then created branch with the same name, committed patch amd pushed it, but github won't update this PR. Do I need to close this PR and open new one? |
krakjoe
commented
Jan 4, 2017
@gureedo please do create a fresh PR, closing this one for you :) |
Oracle docs defines three versions of utf8 encoding.
Details here: http://docs.oracle.com/cd/B19306_01/server.102/b14225/ch6unicode.htm#i1006998
We can obtain maximum character size in bytes by calling OCINlsNumericInfoGet() and get current max character width.
Details here: http://docs.oracle.com/cd/B10501_01/server.920/a96529/ch8.htm#14288