lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

On Thu, Aug 07, 2003 at 12:11:55PM -0500, 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>