php 读取 Unicode 编码的txt 开头那两个问号乱码怎么删除? 财富值17

2016-10-31 11:11发布

txt文件内容:

1399389180,10838,10842,10837,10842,242,1.311514E+07,0,0,5053,126152,0,0 1399389240,10842,10840,10840,10842,120,6504448,0,0,5061,126122,0,0 1399389300,10840,10841,10840,10841,40,2168064,0,0,5068,126096,0,0 1399389360,10840,10841,10840,10841,20,1084160,0,0,5072,126090,0,0 1399389420,10842,10841,10840,10842,102,5528832,0,0,5084,126128,0,0 1399389480,10841,10841,10840,10841,12,650496,0,0,5088,126132,0,0 1399389540,10842,10838,10838,10843,180,9757696,0,0,5110,126146,0,0

读出出来的结果,第一行总是多两个��,怎么把这个过滤掉?>

��1399389180,10838,10842,10837,10842,242,1.311514E+07,0,0,5053,126152,0,0 @D:minute1_pp01temp1.txt 1399389240,10842,10840,10840,10842,120,6504448,0,0,5061,126122,0,0 @D:minute1_pp01temp1.txt 1399389300,10840,10841,10840,10841,40,2168064,0,0,5068,126096,0,0 @D:minute1_pp01temp1.txt 1399389360,10840,10841,10840,10841,20,1084160,0,0,5072,126090,0,0 @D:minute1_pp01temp1.txt 1399389420,10842,10841,10840,10842,102,5528832,0,0,5084,126128,0,0 @D:minute1_pp01temp1.txt
友情提示: 此问题已得到解决,问题已经关闭,关闭后问题禁止继续编辑,回答。
1条回答

针对第一行试试这个:

一周热门 更多>