Help converting a rtf file

Discussion in 'Web Design and Development' started by nanolife, Oct 30, 2012.

  1. macrumors 6502

    nanolife

    Joined:
    Sep 20, 2011
    Location:
    Pasadena
    #1
    Hi guys, I would like to know if any of you can help me to convert two rtf files in order to save its content. I would really appreciate that since I have been trying a lot of things and so far couldn't do it by myself. :(

    I gonna share the dropbox link for both files and please let me know if you can save the content in any other format which would work. I'm very desperate right now.

    Thank you very much in advance.

    File 1: https://www.dropbox.com/s/3vubqyzqcmr3oxg/test.rtf

    File 2: https://www.dropbox.com/s/j986m96xmuez0kb/test2.rtf

    PS. Sorry if this is the wrong area to post it, I can't think very clear right now because of this issue. :S
     
  2. simsaladimbamba

    Joined:
    Nov 28, 2010
    Location:
    located
    #2
    Did someone send them to you? If so, ask them to send them to you again in a proper format for the kind of what is in there, as those .rtf files are BIG, 27 MB and 58 MB for text files is huge, unless there are a lot of photos or graphics embedded.
    Maybe ask the sender to use the .doc(x) or .pdf format.

    Do you know, what is supposed to be in those two files? I couldn't open them in either TextEdit nor Pages.
     
  3. macrumors 603

    Tomorrow

    Joined:
    Mar 2, 2008
    Location:
    Always a day away
    #3
    That's odd - Text Edit normally does just fine with .rtf files. Are these corrupted?
     
  4. thread starter macrumors 6502

    nanolife

    Joined:
    Sep 20, 2011
    Location:
    Pasadena
    #4
    There's only plain text in these files. No pictures or any special code. It was generated in some Judiciaire app and it keeps generating the same files over and over no matter how many times I try. Nobody sent it to me, I used that Windows judiciaire app to generate the list and it only exports to rtf and already broken, as it seems.

    Using Finder on ML I can see the content of the file but can't open it anywhere.

    Check the screenshot, please.

    http://imgur.com/nE6w1
     
  5. kryten2, Oct 30, 2012
    Last edited: Oct 30, 2012

    macrumors 6502a

    Joined:
    Mar 17, 2012
    Location:
    Belgium
    #5
    Something not quite right with these files.

    Code:
    Aldebaran:~ test$ textutil -info /Users/test/Downloads/test.rtf 
    Error reading /Users/test/Downloads/test.rtf.  The file is not in the right format.
    Aldebaran:~ test$ file /Users/test/Downloads/test.rtf 
    /Users/test/Downloads/test.rtf: Rich Text Format data, version 1, ANSI
    Aldebaran:~ test$ head /Users/test/Downloads/test.rtf 
    {\rtf1\ansi\deff0\deflang1024
    {\fonttbl
    {\f1\fswiss Arial;}
    {\f2\fswiss Arial;}
    {\f3\fswiss Arial;}
    {\f4\fswiss Arial;}
    {\f5\fswiss Arial;}
    {\f6\fswiss Courier New;}
    {\f7\fswiss Arial;}
    {\f8\fswiss Arial;}
    From your test.rtf :

    {{\pict\wmetafile6\picw1360\pich1473\picwgoal1620\pichgoal1838
    0100090000034408000000002A08000000000400000003010600050000000B0200000000050000000C0252F32A0B2A08

    Edit : You can open them on Windows in WordPad and save as plain txt files.
     
  6. macrumors 6502a

    Joined:
    Sep 3, 2009
    #6
    I've had issues with .rtf files recently as well. Perhaps a coincidence, but TextEdit told me that it was corrupted, yet it worked just fine on a Windows machine.
     
  7. thread starter macrumors 6502

    nanolife

    Joined:
    Sep 20, 2011
    Location:
    Pasadena
    #7
    Thank you guys. I couldn't make it work on Windows as well. Tried with Wordpad, Notepad and MS Word. :/
     
  8. macrumors 6502a

    Joined:
    Mar 17, 2012
    Location:
    Belgium
    #8
    Your files :
     

    Attached Files:

  9. thread starter macrumors 6502

    nanolife

    Joined:
    Sep 20, 2011
    Location:
    Pasadena
    #9
    Thank you very much, that helped me a lot! :)
     
  10. macrumors 603

    Joined:
    Aug 9, 2009
    #10
    For future reference, so others can perhaps do it themselves, could you describe the procedure and tools you used to make the conversions? If it's complicated, then maybe just a summary.
     
  11. macrumors 6502a

    Joined:
    Mar 17, 2012
    Location:
    Belgium
    #11
    First thing I tried was textutil to convert the file. Then I tried catting the file and pipe it into pbcopy so I could paste it in TextEdit. Both of them didn't work. The next thing I tried was to fire up a Windows virtual machine and see if could open the file with WordPad. It opened just fine. Maybe I was lucky I don't know although 12dylan34 also said it worked just fine on a Windows machine.

    Procedure : Startup Windows, open the file with WordPad.
    Tools : Windows XP Prof x64, WordPad
     

Share This Page