Jump to content

MySQL problem

Recommended Posts

Hi all. I have problem on the side of MTA with encoding. Example query:

dbExec(bdConnection, "UPDATE table SET text = 'Русский текст' WHERE id = 1")

In database i have: "? ???????????? ?‚?µ?????‚"

But if I do not execute this query from the MTA, and from phpMyAdmin result - Ok. Russian string normally displayed.

Field and database encoding: cp1251 or utf8 (tried both)

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...