Welcome Guest, Not a member yet? Register   Sign In
[Export to Excel 2013]Encoding error
#1

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?
Reply
#2

(This post was last modified: 11-18-2015, 12:56 AM by trinh.thanh.long.)

@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!
Reply
#3

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 )
Reply




Theme © iAndrew 2016 - Forum software by © MyBB