Home  >  Article  >  Backend Development  >  iconv(): Detected an incomplete multibyte character

iconv(): Detected an incomplete multibyte character

WBOY
WBOYOriginal
2016-06-06 20:35:014024browse

在使用PHP fgetcsv 批量导入csv文件到数据库时候,由于部分中文的问题导致这样的问题。不知道有没有什么比较好的解决方案?谢谢!

iconv(): Detected an incomplete multibyte character in input string

回复内容:

在使用PHP fgetcsv 批量导入csv文件到数据库时候,由于部分中文的问题导致这样的问题。不知道有没有什么比较好的解决方案?谢谢!

iconv(): Detected an incomplete multibyte character in input string

处理时使用的编码方式与文件原本的编码方式一样嘛?

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn