Answer the question
In order to leave comments, you need to log in
How to fix encoding when connecting via odbc?
I connect the MS Access database via odbc_connect in PHP like this:
$db = odbc_connect("Driver={Microsoft Access Driver (*.mdb)};Dbq=d:\XXX\X.mdb;", $user, $password);
Answer the question
In order to leave comments, you need to log in
Here manipulations are described, something similar to your case. forum.php.su/topic.php?forum=78&topic=4450
I had this problem in odbc v 3.51.3 on Windows XP. You need to specify cp1251 in the connection settings. At the same time, on the server for the base I have utf8_general_ci
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question