On Tue, 8 Jul 2003, Adam McDaniel wrote: > > 2. Thus, how do we check that the character is indeed CRLF? What is the > > two-byte encoding of CRLF? > > In this other program which I'm working on, here is what I do (not > saying it anymore right, but one possibility) > > static const Char CRLF[] = { 0x0D, 0x0A, 0x00 }; > > [..]
Maybe we can just have GetNextToken() return a ' ' when it encounters a CR-LF? That still leaves one question. Does the OS encode CRLF into a WChar as 0x0D0A or as 0x0A0D? (These endian things are confusing.) Or as something else? Alex -- Dr. Alexander R. Pruss || e-mail: [EMAIL PROTECTED] Philosophy Department || online papers and home page: Georgetown University || www.georgetown.edu/faculty/ap85 Washington, DC 20057 || U.S.A. || ----------------------------------------------------------------------------- "Philosophiam discimus non ut tantum sciamus, sed ut boni efficiamur." - Paul of Worczyn (1424) _______________________________________________ plucker-dev mailing list [EMAIL PROTECTED] http://lists.rubberchicken.org/mailman/listinfo/plucker-dev