ID:               40150
 Updated by:       [EMAIL PROTECTED]
 Reported By:      chores at jp1 dot cx
-Status:           Open
+Status:           Feedback
 Bug Type:         PDO related
 Operating System: Windows Server 2003
 PHP Version:      5.2.0
 New Comment:

Please do not forget about expected and actual results.


Previous Comments:
------------------------------------------------------------------------

[2007-01-17 16:12:34] chores at jp1 dot cx

Source:
-------
<?php
mb_internal_encoding('Shift_JIS');
$fn_db = mb_convert_encoding('//xxx/xx/xxx/xxx.mdb', 'SJIS');
$dbh = new PDO("odbc:Driver={Microsoft Access Driver
(*.mdb)};Dbq=$fn_db;Uid=Admin");
$sql = 'SELECT [t].c FROM [t]';
$cursor = $dbh->query($sql);
writeTableOneRowByPDOStatement($cursor);
while ($col_row = $cursor ->fetch(PDO::FETCH_ASSOC,NULL,1)) {
    foreach ($col_row as $col_name => $val) {
        echo "$col_name => $val<br>\n";
    }
}
?>

------------------------------------------------------------------------

[2007-01-17 08:22:04] [EMAIL PROTECTED]

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.




------------------------------------------------------------------------

[2007-01-16 23:28:47] chores at jp1 dot cx

Description:
------------
Multiple byte letter is destroyed with SELECT.
As for database .mdb. By way of ODBC. 
Sentence end is destroyed.
The air which processes the place where it should process at the number
of letters, at the number of bytes does.
(It translated this sentence with
http://translate.google.com/translate_t.)



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=40150&edit=1

Reply via email to