Home >php教程 >php手册 >php中fgetcsv windows和linux兼容问题

php中fgetcsv windows和linux兼容问题

WBOY
WBOYOriginal
2016-06-13 09:56:05970browse

文章分享一篇关于php中fgetcsv windows和linux兼容问题,有碰到想同问题的同学可以参考一下下。

设置区域:简体中文,UTF-8编码

 代码如下 复制代码

setlocale(LC_ALL, 'zh_CN.UTF-8');

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