[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CVS and unicode

From: Spiro Trikaliotis
Subject: Re: CVS and unicode
Date: Tue, 13 Sep 2005 07:01:15 +0200
User-agent: Mutt/1.5.9i


* On Mon, Sep 12, 2005 at 09:01:41PM +0200 Christian Hujer wrote:

> An algorithm that eats CR as well as CR/LF as well as LF isn't that difficult.

This is not the point. Of course, you can built support for this into
each and every program. But: Why should you? The OS (or the run-time
library of your language) knows how to deal correctly with this. Just
open the file and text mode and let the conversion take place

I remember a general programming rule:

     "Don't try to re-invent the wheel."

Doing conversions between different formats is the task of special
conversion tools, not of each and every compiler/editor/... .

As you were already told, there are many more conventions available than
just CR, LF, CR/LF. Some new ones may come up later.


Spiro R. Trikaliotis                               

reply via email to

[Prev in Thread] Current Thread [Next in Thread]