CrLf

On DOS/Windows system line breaks are represented by the characters Carriage-Return and Line-Feed, on UNIX/Linux systems only by the character Line-Feed; on the Macintosh again only the character Carriage-Return is used.

Because many programs cannot handle this problem, texts or source code are often displayed without or with wrong line breaks, or control characters appear instead of the line breaks.

You are not only concerned if you are working with different operating systems, but also if you download texts or source code from the internet.


The Program running on Windows

This program converts single files or all files with certain extensions (if you wish, also recursively in all subdirectories) from an abitrary coding into the Macintosh, DOS/Windows, or UNIX/Linux format; the program can also handle mixed line-break codings in the source file.

Because the CrLf problem concerns all operating systems, I wrote a system independent program; you can use it on every computer, provided you have installed a Java Runtime Environment (JRE) by Sun Microsystems, which can be downloaded for free.

A How-To for the command line tool can be found here.

Note: As most software can handle this problem nowadays, this application has no longer been maintained since 2007. Here you can download the latest version: JAG CrLf 2.2 (Windows Installer). If you don't have installed the JRE by Sun Microsystems so far (or if you have an older version than 1.4), please install first a current JRE (How-To).