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

Lawrence D'Oliveiro ldo at geek-central.gen.nz
Wed Mar 11 14:44:12 PDT 2015


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”?


More information about the cairo mailing list