Showing posts with label Special. Show all posts
Showing posts with label Special. Show all posts

Thursday, 7 May 2015

Handle Special Characters exporting Data in CSV

Please use below code before fputcsv function

$df = fopen($filepath, 'w');
fprintf($df, chr(0xEF).chr(0xBB).chr(0xBF));