会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
与f
博客园
首页
新随笔
联系
管理
订阅
2021年5月26日
php中用file_get_contents函数获取带BOM的utf-8文件内容
摘要: $dataStr = file_get_contents("C:\Users\Administrator\Desktop\\13.txt");//utf8文件 if (preg_match('/^\xEF\xBB\xBF/', $dataStr)) {//\x表示16进制 $dataStr = su
阅读全文
posted @ 2021-05-26 11:38 与f
阅读(301)
评论(0)
推荐(0)
编辑
公告