I have changed the charset of the tables and of the column, i get the arabic text as ???? marks in MYSQL database
here is the design of the table
CREATE DATABASE mydb
DEFAULT CHARACTER SET utf8
DEFAULT COLLATE utf8_general_ci;
CREATE TABLE `categories` (
`category_id` tinyint(2) NOT NULL auto_increment,
`category_name` varchar(50)character set utf8 NOT NULL ,
PRIMARY KEY (`category_id`)
insert into `mydb`.`categories`
(`category_id`, `category_name`)
values (1,'کتگوری');
commit;
When I again fire select query it shows ???? as text?
Can anyone tell me where am i doing wrong?