|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2006-09-08 09:15 UTC] tony2001 at phpclub dot net
[2006-09-08 09:43 UTC] ms at e-kazan dot ru
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 09:00:02 2025 UTC |
Description: ------------ When connect to db using CL8MSWIN1251 charset and fetch LOB fields they come in UTF-8. Latest CVS version tried. Reproduce code: --------------- <? $con = oci_connect('user', 'pass', 'db', 'CL8MSWIN1251'); $stmt = oci_parse($con, "select lob_field from table where id = 1"); oci_execute($stmt, OCI_DEFAULT); $r = oci_fetch_row($stmt); echo $r[0]->load(), '<br />'; oci_close($con); ?> Expected result: ---------------- LOB field in Windows-1251 charset Actual result: -------------- LOB field in UTF-8 charset