Re: [PATCH 3/3] [test] Use UTF-8 in test files

Lawrence D'Oliveiro <[email protected]>
Newsgroups gmane.comp.lib.cairo
Organization Geek Central
Message-ID <[email protected]>
On Wed, 11 Mar 2015 11:28:36 -0700, Bill Spitzak wrote:

> On 03/10/2015 08:02 PM, Lawrence D'Oliveiro wrote:

>> Especially when you get into the specifics of what constitutes a
>> line terminator...
> 
> Programs should only use ASCII characters as line terminators.

Even so, that leaves three different conventions in common use: CR
(Macintosh), CR-LF (MS-DOS/Windows) and LF (POSIX). So you need a
little state machine to correctly recognize all of these.

So what happened to the idea of a “byte stream”?
-- 
cairo mailing list
[email protected]
http://lists.cairographics.org/mailman/listinfo/cairo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.