S
S
Slavka2014-11-20 23:39:43
MySQL
Slavka, 2014-11-20 23:39:43

C# + Mysql Connector, doesn't support Russian characters?

string Connect = "Database=nail_work;Data Source=localhost; User Id=root;Password=; Charset=utf8;";
here is the connection string, but what signs are coming to the server??? instead of Russian characters, which is back from the server, I don’t know how to fix it anymore, after googling I realized that I need to add "Charset=utf8;" at the end of the query, but that didn't help.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Rsa97, 2014-11-21
@Rsa97

SET NAMES
Well, tables and fields must be in the correct encoding.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question