csv content charset utf-8 dont work code example
Example 1: csv utf-8 excel into php
mb_convert_encoding($csv, 'UTF-16LE', 'UTF-8');
Example 2: csv utf-8 excel into php
chr(255) . chr(254)
mb_convert_encoding($csv, 'UTF-16LE', 'UTF-8');
chr(255) . chr(254)