fgetcsv() ignores special characters when they are at the beginning of line!
问题 I have a simple script that accepts a CSV file and reads every row into an array. I then cycle through each column of the first row (in my case it holds the questions of a survey) and I print them out. The survey is in french and whenever the first character of a question is a special character (é,ê,ç, etc) fgetcsv simply omits it. Special characters in the middle of the value are not affected only when they are the first character. I tried to debug this but I am baffled. I did a var_dump