Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

coolholiday's avatar

Export special characters to excel came to mass

I am a beginner of using Laravel-4.2.

I try to extract data from database (mySQL) which contains Chinese characters and export to excel file. It came out mass. Tables collation are defined utf8-utf8_unicode_ci.

I have been searching since now and then, it seems no solution.... i found a suggestion to concate "\xEF\xBB\xBF" in front of the data, but it doesn't work....

Please Help

0 likes
0 replies

Please or to participate in this conversation.