View Single Post
Old 01-04-2010, 04:18 AM   #9
mores
Guru
mores knows the air-speed velocity of an unladen swallow.mores knows the air-speed velocity of an unladen swallow.mores knows the air-speed velocity of an unladen swallow.mores knows the air-speed velocity of an unladen swallow.mores knows the air-speed velocity of an unladen swallow.mores knows the air-speed velocity of an unladen swallow.mores knows the air-speed velocity of an unladen swallow.mores knows the air-speed velocity of an unladen swallow.mores knows the air-speed velocity of an unladen swallow.mores knows the air-speed velocity of an unladen swallow.mores knows the air-speed velocity of an unladen swallow.
 
mores's Avatar
 
Posts: 834
Karma: 102419
Join Date: Sep 2007
Location: Vienna, Austria
Device: iPhone
The way I fix horrible TXT files is this

1) replace double-line-breaks with XXXXXXXXXXXX
2) replace single line breaks with a space
3) replace XXXXXXXXXXXX with double line breaks

This works quite well, keeps the paragraphs but makes it reflowable.
Causes problems, sometimes, with dialogs.
mores is offline   Reply With Quote