yosii Posted July 24, 2013 Share Posted July 24, 2013 hi i want to know 2 thing please 1)how can i change encoding of file to utf-8 with php please? it is CSV file.... 2)how can i convert EXEL file to CSV file with PHP please? thank !!! Link to comment https://forums.phpfreaks.com/topic/280464-change-encoding-of-tile-with-php/ Share on other sites More sharing options...
AbraCadaver Posted July 24, 2013 Share Posted July 24, 2013 1) mb_convert_encoding() or iconv() 2) deflate xlsx file, get data from sheet.xml using simplexml, write out CSV with file_put_contents() or fputcsv() Link to comment https://forums.phpfreaks.com/topic/280464-change-encoding-of-tile-with-php/#findComment-1441972 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.