I put my project on server and when I try to export the CGridView in excel (using tlbexcelview ext) some special characters (german umlaut) are not displayed correctly…
I just tried from my localhost using the same db the server is using, and when export to excel everything is fine…
Only from server the excel shows strange characters! The thing is that CGridView (in server) is showing the correct characters (from db), only when exporting to excel the encoding is not working…
Well, the library is working fine from localhost…and I also just tried in both cases using the same db connection and still from server it is not working…
I once had an encoding problem and I remember that, after putting this code, the problem disappeared. However, I am not sure if the problem disappeared thanks to this code.