info-cvs
[Top][All Lists]
Advanced

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

newlines and code page conversion


From: Terrence Enger
Subject: newlines and code page conversion
Date: Tue, 13 May 2003 17:25:24 -0400

Greetings, All.

I am working at making cvs run in EBCDIC on an IBM iSeries.  As part of my
changes I am replacing literal '\012' in the source code by '\n' and then
making the program explicitly transate to/from ASCII for the client/server
socket communications.  I wonder if the changed representation of newlines
would be a useful change to the official cvs.  Does anyone here like the
idea?  Particularly, does anyone know of a platform where this would cause
problems?

(Theoretically, the existing official source uses '\012' in constants
intended for socket communications, so that no code page translation is
needed.  However, immediately adjacent bytes *do* need translation, so it
would take a non-standard translation to exploit the distinction.  I thank
Larry Jones for this background information.)

Thank you all for your attention and thoughts.

Terry.
Available for contract programming.






reply via email to

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