[Export to Excel 2013]Encoding error |
I have tried the export to excel from this link; https://github.com/bcit-ci/CodeIgniter/w...Excel-2013. It sounds good until return data included Japanese characters (Hiragana, Katakana and Kanji). It returned me "ă‚ăƒƒăƒ”ăƒ¼",.. or something like this,... How can I fix it?
@Anyone meet the same problem above
Please add the following line right after 2 lines header setting: echo chr(0xEF) . chr(0xBB) . chr(0xBF); Regards!
Make sure all your data is set to utf8 and also that your database is set to utf8 utf8_general_ci or utf8_unicode_ci
What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
|
Welcome Guest, Not a member yet? Register Sign In |