fgetcsv() - bug or ?

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

fgetcsv() do unwanted "left trim" on fields started
with locale characters (code page win-1250).

Problem persist only if local character is first character in field

for example, let say that C is locale character, and this is CSV file:


fgetcsv(CSV file) fill array with:


Is this a bug? how to avoid this?

Site Timeline