
I tried the following
set session collation_database=utf8_general_ci; set session character_set_database=utf8 ; #SET NAMES utf8; #SET character_set_database=utf8; LOAD DATA local INFILE "D:\\trade20120314.csv" INTO TABLE trade CHARACTER SET utf8 FIELDS TERMINATED BY ',' LINES TERMINATED BY '\r\n' ; but the arabic columns still appears as "?????? ????????????????".
I am sure that the csv file is encoded to utf8 and the default character set of server and client is as utf8 and also the columns character set and collation as utf8 .
I don't know where is the problem , any suggestions .
Thanks .
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.