|  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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
Solve the problem:
29 + 27 = ?
Subscribe to this entry?

 [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-2020 The PHP Group
All rights reserved.
Last updated: Tue Sep 22 05:01:30 2020 UTC