When i open a php generated csv file by using notepad or any other text editor i am able to see utf-8 characters as it is no issue here. But when i double click the file to open in excel utf-8 characters are displaying as special characters like this.
LahnstraßeBelow is the code to generate csv file .
$fh1 = fopen($current_csv_name, 'w+');
fprintf($fh1, "\xEF\xBB\xBF");
foreach($csv_data as $response)
{
fputs($fh1, implode($response, ';')."\n");
}
fclose($fh1);
Any help would be greatly appreciated.