This is a migrated thread and some comments may be shown as answers.

Problem with UTF-8 in MySQL

3 Answers 106 Views
Data Access Free Edition
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
john j
Top achievements
Rank 1
john j asked on 05 Dec 2009, 04:27 PM
Greeting
I am using ORM to connect MySQL to ASP.Net and When I try to save UTF-8 (Arabic text )  to the database it saved  as (?????)
but when I save tis text directly to the database it work , so how can I make the ORM pass UTF-8 or Unicode Data Correctly to the database

Best Wished

3 Answers, 1 is accepted

Sort by
0
Ady
Telerik team
answered on 10 Dec 2009, 12:10 PM
Hello john j,

 You can use the 'Connection Settings' dialog (OpenAccess->Configuration->Connection Settings) and specify the 'connectionParams' value to 'charset=utf8'. This will ensure that the values get written properly.

 Hope this helps.


Best wishes,
Ady
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Qutfullo
Top achievements
Rank 1
answered on 21 Oct 2015, 07:27 PM

Hello Ady I used this connection: user id=root;host=localhost;database=xxx;persist security info=True; charset=utf8. This connection right or no. If add to table every data is ????????

Best Wished!​

0
Ady
Telerik team
answered on 26 Oct 2015, 10:52 AM
Hello Qutfullo ,

 What is the data type of the column in the database and the character set for the table? You should set the 'utf8' character set at the server,database or table level.

Looking forward to your reply.

Regards,
Ady
Telerik
 
Check out the latest announcement about Telerik Data Access vNext as a powerful framework able to solve core development problems.
Tags
Data Access Free Edition
Asked by
john j
Top achievements
Rank 1
Answers by
Ady
Telerik team
Qutfullo
Top achievements
Rank 1
Share this question
or