mpeg2
March 31st, 2009, 02:49 PM
I have a large number of ebooks in text format, obtained from many sources, using different computers (and OSs). A number of these appeared garbled on the eSlick (but not in a text editor) - no paragraph formatting & text all run together.
I finally realized that this was being caused by the different EOL (End Of Line) conventions for different OS's - Linux and Mac use either CR or LF (can't remember which is which) - Windows uses CR/LF.
I found a cure for this - Linux has a utility called "todos" (part of the tofrodos package on Ubuntu). Running the text files through todos cured the garbled text and everything is readable. Similar conversion tools are probably available for Mac and Windows, but I'm not sure what they are...
Rich
I finally realized that this was being caused by the different EOL (End Of Line) conventions for different OS's - Linux and Mac use either CR or LF (can't remember which is which) - Windows uses CR/LF.
I found a cure for this - Linux has a utility called "todos" (part of the tofrodos package on Ubuntu). Running the text files through todos cured the garbled text and everything is readable. Similar conversion tools are probably available for Mac and Windows, but I'm not sure what they are...
Rich