【问题标题】:Parsing UTF8 and other CSV files解析 UTF8 和其他 CSV 文件
【发布时间】:2011-11-18 11:58:54
【问题描述】:

我有我阅读的 CSV 文件:Why does this CSV not be parsed with fgetcsv?

但是现在有一些是 UTF8 而有些不是...我如何实现“自动检测”?

【问题讨论】:

    标签: php parsing csv


    【解决方案1】:

    试试这个php函数:mb_detect_encoding

    它的功能与名称的含义相同:检测字符编码。

    【讨论】:

      猜你喜欢
      • 2013-12-09
      • 2020-04-07
      • 2013-05-13
      • 1970-01-01
      • 1970-01-01
      • 2013-11-25
      • 1970-01-01
      • 1970-01-01
      • 2016-09-16
      相关资源
      最近更新 更多