|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-09-27 09:05 UTC] derick@php.net
[2005-09-27 10:07 UTC] eser at kablonet dot com dot tr
[2005-09-28 12:53 UTC] sniper@php.net
[2005-10-06 01:00 UTC] php-bugs at lists dot php dot net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 06:00:01 2025 UTC |
Description: ------------ I'm trying to import some data from access to mysql. But i can't read crotian characters from access file. When i opened the mdb file access shows the chars correctly but php can't read them. Reproduce code: --------------- $db = 'c:\\file.mdb'; $conn = new COM('ADODB.Connection'); $conn->Open("Provider=Microsoft.Jet.OLEDB.4.0; Data Source=$db"); $rs = $conn->Execute("select * from test"); while (!$rs->EOF): echo $rs->Fields['comment']->Value; $rs->MoveNext(); endwhile; Expected result: ---------------- Display the crotian characters. Actual result: -------------- Displays the english chars.