Open GoogleCodeExporter opened 8 years ago
[deleted comment]
with function fgetcsv
Note:Locale setting is taken into account by this function. If LANG is e.g.
en_US.UTF-8, files in one-byte encoding are read wrong by this function.
solustion:
setlocale(LC_ALL, 'zh_CN');
http://my.oschina.net/phpfunction/blog/93543
Original comment by wangguan...@gmail.com
on 3 Dec 2012 at 3:47
Original issue reported on code.google.com by
s...@blubolt.com
on 27 Jan 2012 at 12:29Attachments: