|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #34651 can't read unicode chars from access file
Submitted: 2005-09-27 00:37 UTC Modified: 2005-10-06 01:00 UTC
Avg. Score:3.8 ± 0.8
Reproduced:3 of 3 (100.0%)
Same Version:1 (33.3%)
Same OS:1 (33.3%)
From: eser at kablonet dot com dot tr Assigned:
Status: No Feedback Package: COM related
PHP Version: 5.0.5 OS: windows xp
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2005-09-27 00:37 UTC] eser at kablonet dot com dot tr
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;

Expected result:
Display the crotian characters.

Actual result:
Displays the english chars.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2005-09-27 09:05 UTC]
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PHP.

 [2005-09-27 10:07 UTC] eser at kablonet dot com dot tr
The problem is simple, i have an access db with containing crotian chars and i can't get them, they're displayed as english chars.
 [2005-09-28 12:53 UTC]
Please try using this CVS snapshot:
For Windows:

 [2005-10-06 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 02:01:29 2024 UTC