I am getting content from my_file.php file using fgets the content in my_file.php is in cz language as
"Overte svuj úcet";
but after getting and print_r browser shows
"Ověřte svůj úÄet"
but if I echo “Overte svuj úcet”; browser show correct output
"Overte svuj úcet";
actually I want to generate a csv file for different languages though I set charset='utf-8' but not success I also googled but no solution found.
okay after a long search i found it and this solved my problem
https://github.com/PHPOffice/PHPExcel/downloads