[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Sucks being in the huge minority...
- From: Andy Sloane <andy@...>
- Date: Fri, 8 Aug 2003 19:43:04 -0500
On Thu, Aug 07, 2003 at 12:11:55PM -0500, RLake@oxfam.org.pe wrote:
> Since the traditional Apple/Mac operating systems actually used hex 0C as
> a line ending character, Mac-oriented development environments tended to
> translate \n into hex 0C; this is the representation of \r on most
> DOS/Unix development environments. Note that in DOS/Windows environments,
> the external representation of the file uses the two-octet sequence
> 0x0C0A to represent a line end; however, the C library distributed in
> those environments replaces this with 0x0A, which the C compiler uses for
> \n.
<Extremely pedantic correction>
It's 0x0D (13), not 0x0C (12) which is a line feed.
</Extremely pedantic correction>
-Andy