J&P Group J&P BMCG J&P InfoSol J&P Multimedia Labs J&P NoBoS
friends
fun

J&P Group | J&P InfoSol | Applications | Text Editors, Text

Text Editors, Text

Introduction <top>

OS Differences <top>

Different operating systems handles text files slightly - but in some cases significantly - different.

It may become critical when developing scripts on one platform (e.g. PHP, on Mac) and uploads to a web server running Linux. What works (executes properly) on one platform fails on another.

What differs is how end of line is indicated, what character(s) is/are used - Linefeed (LF, Carriage Return (CR), or both.

Linux/*NIX LF
Mac CR
Windows CRLF

More info, tips, and techniques in How do I convert between Unix and Mac OS or Mac OS X text files? (opens in a new tab/window), from Indiana Univ., retrieved 2008-03-03).

 

 

This section uses Nov 08 CSS Frames.