In my http://nridubai.com Website,there are one feature – export all data in csv format.And this is only available to admin.
But In my databse there are some companies contains non english characters like Äž .
When i export it into csv format,these characters replaces with strange characters.But when i try open that csv file with notepad,it showing proper.
Please help me sort out the problem
Thanks in advance.
This is a problem you can resolve in CSV. Special chars will be included, but when you open that CSV in notepad or excel, those special chars are converted into the correct chars.
Try using UTF8 encoding while streaming out the CSV.