|
Posted by jdbartlett on 06/21/06 21:48
Thanks for the response. I am using a Mac, but I'm not uploading files
at all, just saving them and then using command line PHP to execute
them.
The text editor I'm using is called TextWrangler from BareBones
software. According to the TextWrangler manual, Unicode has its own
standard for line endings (page 36, second para). In the 'line ending'
menu, TextWrangler offers 4 options (Unicode in addition to Unix,
Macintosh and WIN/DOS). I have selected "Unicode". PHP recognizes Unix,
Mac and WIN/DOS line endings just fine, but seems to have trouble
recognizing these "Unicode" line endings when no other apps do.
Alvaro G. Vicario wrote:
> We'd need to know two things: what's what you call "unicode line endings"
> and what do you mean with "register"...
>
> Anyway, I'd say you're using a Mac to edit files and you upload them using
> FTP in binary mode. Try ascii mode instead.
Navigation:
[Reply to this message]
|