I think you can simplify this to `getDelimiter()[0] == '\n'`

I think that line feed is the same in all charsets that matter. We do exclude mainframe and C64 charsets that way, but I am okay with that ;-)