Looking to Build/Redesign a Website or Blog ?

To speak to Rakshit, call +91 968 704 2303

February 12, 2015

No Comments

[PHP] Export to Excel/CSV/TXT Problem with Special Chars

I am working with one Traditional Chinese website where i need to give Export to TXT functions. Actually my client is using some third party tool which accept txt file only but txt file is csv formatted. I have write down the code for export to txt and when i see the exported file, it shows me some weird characters. I have used almost all options for the char supports and finally i found the one which fix my error.