简体   繁体   中英

php Spreadsheet_Excel_Reader data contain unwanted � when insert into mysql database

When read a Excel file using Spreadsheet_Excel_Reader data contain unwanted between each characters,When insert it into mysql DB. How to solve this issue

Sounds like a character set mismatch. This question on SO might help re. the spreadsheet: php-excel-reader - problem with UTF-8 and then check that your tables/columns are using the same (ideally UTF-8) character set, and that your connection is also using UTF-8.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM