Go Back   MacRumors Forums > Special Interests > Visual Media > Web Design and Development

Reply
 
Thread Tools Search this Thread Display Modes
Old Oct 30, 2012, 11:01 AM   #1
nanolife
macrumors 6502
 
Join Date: Sep 2011
Location: Pasadena
Send a message via ICQ to nanolife Send a message via Skype™ to nanolife
Help converting a rtf file

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
__________________
☣ rMBP 2.6/16/512
☢ iPhone 5s / 5 / 4S / 4 / 3gs
☢ iPad Air / 4 / 2

"You can only get smarter by playing a smarter opponent."
nanolife is offline   0 Reply With Quote
Old Oct 30, 2012, 11:15 AM   #2
simsaladimbamba
Guest
 
Join Date: Nov 2010
Location: located
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.
simsaladimbamba is offline   0 Reply With Quote
Old Oct 30, 2012, 11:27 AM   #3
Tomorrow
macrumors 603
 
Tomorrow's Avatar
 
Join Date: Mar 2008
Location: Always a day away
That's odd - Text Edit normally does just fine with .rtf files. Are these corrupted?
__________________
I would scream just to be heard, as if yelling at the stars - I was bleeding just to feel.
You would never say a word, kept me reaching in the dark - always something to conceal.
Tomorrow is offline   0 Reply With Quote
Old Oct 30, 2012, 11:34 AM   #4
nanolife
Thread Starter
macrumors 6502
 
Join Date: Sep 2011
Location: Pasadena
Send a message via ICQ to nanolife Send a message via Skype™ to nanolife
Quote:
Originally Posted by simsaladimbamba View Post
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.
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
__________________
☣ rMBP 2.6/16/512
☢ iPhone 5s / 5 / 4S / 4 / 3gs
☢ iPad Air / 4 / 2

"You can only get smarter by playing a smarter opponent."
nanolife is offline   0 Reply With Quote
Old Oct 30, 2012, 03:56 PM   #5
kryten2
macrumors 6502a
 
Join Date: Mar 2012
Location: Belgium
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;}
Quote:
RTF can also handle bitmap images encoded in either a hexadecimal or binary format. The control word \pict always begins a group containing bitmapped data. A \pict group might appear in an RTF code stream as follows:

{\pict\wmetafile8\picw23918\pich14552\picwgoal13562\pichgoal8251
\picscalex63\piccaley63

Following the \pict group is the actual bitmap data, which is hexadecimal in format by default (as shown in the example below). If the data is in binary format, it is preceded by the \bin control word, followed by the number of bytes of binary data that follow.
Quote:
There's only plain text in these files. No pictures or any special code.
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.
__________________
Space Corps Directive 34124

Last edited by kryten2; Oct 30, 2012 at 04:23 PM.
kryten2 is offline   0 Reply With Quote
Old Oct 30, 2012, 04:50 PM   #6
12dylan34
macrumors 6502a
 
Join Date: Sep 2009
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.
12dylan34 is offline   0 Reply With Quote
Old Oct 30, 2012, 05:05 PM   #7
nanolife
Thread Starter
macrumors 6502
 
Join Date: Sep 2011
Location: Pasadena
Send a message via ICQ to nanolife Send a message via Skype™ to nanolife
Thank you guys. I couldn't make it work on Windows as well. Tried with Wordpad, Notepad and MS Word. :/
__________________
☣ rMBP 2.6/16/512
☢ iPhone 5s / 5 / 4S / 4 / 3gs
☢ iPad Air / 4 / 2

"You can only get smarter by playing a smarter opponent."
nanolife is offline   0 Reply With Quote
Old Oct 30, 2012, 06:47 PM   #8
kryten2
macrumors 6502a
 
Join Date: Mar 2012
Location: Belgium
Your files :
Attached Files
File Type: zip testtxt.txt.zip (370.8 KB, 15 views)
File Type: zip test2txt.txt.zip (708.1 KB, 10 views)
__________________
Space Corps Directive 34124
kryten2 is offline   1 Reply With Quote
Old Oct 30, 2012, 06:56 PM   #9
nanolife
Thread Starter
macrumors 6502
 
Join Date: Sep 2011
Location: Pasadena
Send a message via ICQ to nanolife Send a message via Skype™ to nanolife
Quote:
Originally Posted by kryten2 View Post
Your files :
Thank you very much, that helped me a lot!
__________________
☣ rMBP 2.6/16/512
☢ iPhone 5s / 5 / 4S / 4 / 3gs
☢ iPad Air / 4 / 2

"You can only get smarter by playing a smarter opponent."
nanolife is offline   0 Reply With Quote
Old Oct 31, 2012, 02:48 PM   #10
chown33
macrumors 603
 
Join Date: Aug 2009
Quote:
Originally Posted by kryten2 View Post
Your files :
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.
chown33 is offline   0 Reply With Quote
Old Oct 31, 2012, 03:49 PM   #11
kryten2
macrumors 6502a
 
Join Date: Mar 2012
Location: Belgium
Quote:
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.
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
__________________
Space Corps Directive 34124
kryten2 is offline   0 Reply With Quote

Reply
MacRumors Forums > Special Interests > Visual Media > Web Design and Development

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
trouble converting .mov file for use with ATV mully1121 Apple TV and Home Theater 2 May 22, 2013 11:24 PM
No more converting during import from file in iTunes 11? c-Row Mac Applications and Mac App Store 0 Feb 26, 2013 11:23 AM
Textmate adding symbols to txt/rtf file drewyboy Mac Programming 1 Feb 20, 2013 12:11 PM
Audio file converting problemo TjeuV Mac Basics and Help 5 Sep 15, 2012 03:19 AM
Resolved: Converting file types hikkichan Digital Audio 2 Aug 13, 2012 10:04 PM

Forum Jump

All times are GMT -5. The time now is 08:36 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC