php.net |  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
Votes:4
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
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: eser at kablonet dot com dot tr
New email:
PHP Version: OS:

 

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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

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

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] sniper@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php5-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5-win32-latest.zip


 [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-2019 The PHP Group
All rights reserved.
Last updated: Tue Jun 25 09:01:26 2019 UTC