Funny characters in array after file() load.

From: Robert Oschler (no_replies_at_fake_email_address.invalid)
Date: 11/30/03


Date: Sun, 30 Nov 2003 18:15:02 GMT

I am loading simple ASCII files that are delimited by newlines. They load
almost perfectly, except that the first string in the array is always
preceded by the following three characters:

char[0] = ï, 239, char[1] = », 187, char[2] = ¿, 191

The characters are absolutely not in the files themselves. I'm guessing I'm
making some kind of novice mistake here, but I dont' know what. (I'm a
novice PHP developer, but an experienced C++ programmer).

Thanks.

-- 
Robert Oschler
http://www.dog-images.com -- Devoted to providing free info on the health,
nutrition, and training of dogs.


Relevant Pages