2

I am making use of mysql 5.0. Is there a way to store a string containing different language other than english? I tried to store the language Kannada but its storing it as "?????". i even tried changing encoding to utf-8, dosent work. (sqlyog)

Abhrapratim Nag
  • 101
  • 2
  • 10
Rookie
  • 23
  • 1
  • 3

3 Answers3

0

change the field collation to :-

utf8_general_ci

enter image description here

Gaurav Srivastava
  • 3,232
  • 3
  • 16
  • 36
0

You should execute this command..

ALTER TABLE CONVERT TO CHARACTER SET utf8 COLLATE utf8_unicode_ci;

0

Simply use the following query to change the column as utf8:

  ALTER TABLE TableName MODIFY ColumnName VARCHAR(255) CHARACTER SET UTF8;
AT-2017
  • 3,114
  • 3
  • 23
  • 39