Results 1 to 5 of 5
  1. #1
    Lounger
    Join Date
    Mar 2001
    Location
    San Bernardino, CA USA
    Posts
    35
    Thanks
    0
    Thanked 0 Times in 0 Posts

    CR/LF problems (XP)

    I've had recent occasion to bring a document originally created in an unknown program about 1989, then converted into an early DOS version of Word shortly after that date. I am encountering strange quirks, in the form of paragraph markers that, when deleted, do strange things to the formatting in both the prior _and_ the following paragraph. I am also encountering disappearing cursers as i go, character by character through the document, even with all hidden characters set to show.

    I encountered this way back when, and it turned out to be a function of a difference between one DOS program using CR/LF for a paragraph, while the other used only CR or LF, or something like that. I even had a DOS utility program that would go through a file exhibiting these problems and strip out the weird characters that were causing the problem.

    Not having encountered this in the last several years, its been "out of sight, out of mind", and I no longer can find (or even remember the name of the utility) the program.

    Is there something out there that anyone can point me to?

    Thanks...Bob

  2. #2
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: CR/LF problems (XP)

    Out of curiosity, what do you get if you copy all and paste into Notepad? Are there gremlins between the characters? If not, the disappearing cursor could be a font rendering problem.

    I have occasionally found documents in which the CRLF pair, which normally is depicted as a single paragraph mark, comes apart into a paragraph mark and a square box. I think I was able to find and replace my way out of that one, but possibly I manually deleted the disassembled elements and typed a new paragraph mark.

    Good luck finding a utility to fix it...I think unless the utility is Word-aware, the formatting could become quite corrupted if characters are removed from the text stream.

  3. #3
    5 Star Lounger
    Join Date
    May 2001
    Location
    Stuttgart, Baden-W, Germany
    Posts
    931
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: CR/LF problems (XP)

    Hi Bob,

    Word itself does a pretty good job fixing funny Cr/Lf combinations if you save as *.DOC, so this is always the first thing I do after I open a text file or a file that's in some old format.

    If you have already edited the document, replacing ^13 with ^p, then ^10 with ^p, might fix some corruption.

    <img src=/S/cheers.gif border=0 alt=cheers width=30 height=16>Klaus

  4. #4
    Lounger
    Join Date
    Mar 2001
    Location
    San Bernardino, CA USA
    Posts
    35
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: CR/LF problems (XP)

    I had gone through all of the usual clean-up stuff, in which I (1) opened the old document in Word, (2) saved it as a text file, (3) opened that test file in NotePad, (4) cut and pasted the whole thing from that Notepad file into another Notepad file, (5) saved that, and (6) opened the last Notepad file in Word. That usually gets rid of any leftover "nasties". In this case it didn't.

    And no, there are no, there are not any "gremlins", either in the form of boxes or otherwise, whether in Word or in Notepad - the worst I had was some

  5. #5
    5 Star Lounger
    Join Date
    May 2001
    Location
    Stuttgart, Baden-W, Germany
    Posts
    931
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: CR/LF problems (XP)

    The

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •