我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

为什么fgetcsv在字符之间添加一些字符?

I use a php script with fgetcsv() to import data from csv files I did not create (no choice).

My problem is the data are imported to my database with a special character between each character, on each field...

For example, "Mounted print" is imported as "�M�o�u�n�t�e�d� �P�r�i�n�t�"

I tried to modify encoding with no result : utf8_encode/decode, iconv ...

Any idea ?

Thanks

近期文章

  • 在Instagram API中使用经度和纬度来获取超过20张图像
  • 如果文本框内容为空,请执行
  • too long
  • too long
  • too long
  • 蛋糕PHP Flot Chart - Json
  • 使用PHP中的字符串在Oracle DB中使用“IN”运算符
  • 如何在链接上使用php变量来使用onClick事件?
  • CakePhp自定义翻译功能
  • Google Analytics不确定行为
  • 如何在cURL上使用TLS协议?
  • 显示后从MYSQL中删除PHP数据
  • 在Codeigniter视图页面中打印阵列
  • 未定义的索引用户和变量自定义函数
  • PHP imagettftext无法使用freetype支持
  • 从没有按钮的html / php文件调用JS函数
  • 使用$ _GET将图像从外部站点放在SSL后面
  • 某些特定图像文件的$ _FILES数组为空
  • 在PHP错误中按字母顺序对数据库中的数据进行分组[重复]
  • 如何用空间正则表达式取代'_'社会科学?

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华