ID:               35162
 Updated by:       [EMAIL PROTECTED]
 Reported By:      punalex at biosys dot net
-Status:           Open
+Status:           Bogus
 Bug Type:         ODBC related
 Operating System: win2003
 PHP Version:      5.0.5
 New Comment:

Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.




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

[2005-11-09 05:41:36] punalex at biosys dot net

Description:
------------
I am from Hong Kong, and I have to use multibyte character

I use Access database and in the database I insert string in the
database (Hex)A7DA9068 (This is 4 bytes, A7, DA, 90, 68 in Hex, I think
you cannot see the character, so I type in hex)

I use odbc_result to get this string, however I cannot get the correct
result!!

I use strlen to get the length of the result, it is also wrong!!

Reproduce code:
---------------
$Database = odbc_connect("Database", "", "");

$Recordset = odbc_exec($Database, "SELECT * FROM YCDatabase");

odbc_result($Recordset, "Address")

odbc_close($Database);

Expected result:
----------------
In the example of description, the expected result is
A7DA9068 (Hex)

Actual result:
--------------
A7DA3F (Hex, a ? instead of 9068)


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


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

Reply via email to