Sujet : Re: Simple string conversion from UCS2 to ISO8859-1
De : 643-408-1753 (at) *nospam* kylheku.com (Kaz Kylheku)
Groupes : comp.lang.cDate : 23. Feb 2025, 08:03:04
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <20250222224856.891@kylheku.com>
References : 1 2 3 4 5
User-Agent : slrn/pre1.0.4-9 (Linux)
On 2025-02-22, Janis Papanagnou <janis_papanagnou+
ng@hotmail.com> wrote:
LF: <any sequence of a single ASCII 0A or 0D, or both>
>
It looks like they accept not only LF, CR, CR-LF, but also LF-CR.
Is the latter of any practical relevance?
Because if Unicode people spot the slightest opportunity to add
pointless complexity to anything, they tend to pounce on it.
Why just specify one line ending convention, when you can require the
processor of the file to watch out for four different tokens denoting
the line break?
-- TXR Programming Language: http://nongnu.org/txrCygnal: Cygwin Native Application Library: http://kylheku.com/cygnalMastodon: @Kazinator@mstdn.ca