Everything is superb with the file, but since the data I am exporting in the CSV may contain arabic characters some of the rows appear as if they have \n(new line)
This is my input data:
حاجى مالك نورزى (Hajji Malik Noorzai; Hajji Malak Noorzai; Haji Malek Noorzai);Haji Maluk;Haji Aminullah;Allah Muhammad
Haji Malek Noorzai);Allah Muhammad;Haji Aminullah;Haji Maluk;Hajji Malak Noorzai;حاجى مالك نورزى (Hajji Malik Noorzai
Ok, I fixed this problem. The string contains \r\n which seemed like space character and were very hard to identify.