|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2008-09-18 16:12 UTC] jonr at light dot is
[2008-09-18 17:15 UTC] jonr at light dot is
[2016-03-08 01:02 UTC] sixd@php.net
-Package: Oracle related
+Package: PDO OCI
-Assigned To:
+Assigned To: sixd
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 13:00:02 2025 UTC |
Description: ------------ PHP displays some UTF-8 strings wrongly. E.g. "????????" is rendered as "????????". Reproduce code: --------------- First Oracle db insert: insert into temp values (convert('????????','UTF8')); $pdo = new PDO('oci:dbname=//localhost/ora','user','pass'); $sth = $pdo->prepare("select * from temp"); $sth->execute(); $sth->fetchAll(PDO::FETCH_ASSOC); echo $sth[0]['TEXT']; Expected result: ---------------- ???????? Actual result: -------------- ????????