When I read from a csv file with fgetcsv method it removes “Å” and “Ø” if they are at the beginning of the string.
while (($data = fgetcsv($handle, 0, "\t")) !== FALSE) {
echo $data[0]."<br />";
}
assume my csv contains only one row ÅbyÅÅÅÅhøjÅ, the output is byÅÅÅÅhøjÅ (note lack of the “Å” at the beginning)
any ideas?
I have just wrapped input in quotes – now always first character for strings will be “.