Suppose I have a large number (e.g. 66) of RTF files in the same folder, and I wish to automate their conversion from RTF to Unicode.
Is it feasible to use TextPipe to call WordPad to open each file in turn and save as Unicode?
Normally when this step is performed manually, Wordpad gives a popup dialog to warn the user that formating will be lost.
See attached image.
David
Automating conversion of RTF files to Unicode using WordPad?
Moderators: DataMystic Support, Moderators, DataMystic Support, Moderators, DataMystic Support, Moderators
-
- Posts: 988
- Joined: Sun Dec 09, 2007 2:49 am
- Location: UK
Automating conversion of RTF files to Unicode using WordPad?
- Attachments
-
- Wordpad popup dialog
- WordPadSaveAsDialog.png (34.19 KiB) Viewed 6885 times
David
- DataMystic Support
- Site Admin
- Posts: 2227
- Joined: Mon Jun 30, 2003 12:32 pm
- Location: Melbourne, Australia
- Contact:
Re: Automating conversion of RTF files to Unicode using Word
Why not use Filters\Convert\Word documents to text ?
Just check the Unicode output option.
Just check the Unicode output option.
-
- Posts: 988
- Joined: Sun Dec 09, 2007 2:49 am
- Location: UK
Re: Automating conversion of RTF files to Unicode using Word
Dear Simon,
Thanks for the suggestion, but I have only TextPipe Standard and that filter is listed in Help as
Found under Filters\Convert (Pro version only)
despite the fact that it is not greyed out in the All Available Filters panel.
Is this another instance where the help file is "telling porkies" ?
David
Thanks for the suggestion, but I have only TextPipe Standard and that filter is listed in Help as
Found under Filters\Convert (Pro version only)
despite the fact that it is not greyed out in the All Available Filters panel.
Is this another instance where the help file is "telling porkies" ?
David
David
-
- Posts: 988
- Joined: Sun Dec 09, 2007 2:49 am
- Location: UK
Re: Automating conversion of RTF files to Unicode using Word
The Help file states also,
When Insert line breaks is ticked, lines are wrapped to the [default] margin, but tabs are preserved. Happy.
When Insert line breaks is unticked, lines are not wrapped, but tabs are replaced by a single space! Unhappy.
There is nothing in Word 2007 to suggest that tabs should be affected like this. Most annoying.
David
Before trying TextPipe, I just examined what Word 2007 does when saving as Plain Text. I selected Unicode as the Encoding.This filter requires Microsoft Word 98 or higher to be installed. If you wish to convert documents other than the default .DOC files, you may also need to install Word's conversion filters. If Word cannot be started automatically TextPipe will prompt you to start it manually before continuing.
When Insert line breaks is ticked, lines are wrapped to the [default] margin, but tabs are preserved. Happy.
When Insert line breaks is unticked, lines are not wrapped, but tabs are replaced by a single space! Unhappy.
There is nothing in Word 2007 to suggest that tabs should be affected like this. Most annoying.
David
David
-
- Posts: 988
- Joined: Sun Dec 09, 2007 2:49 am
- Location: UK
Re: Automating conversion of RTF files to Unicode using Word
The TextPipe help file was correct - it's only in Pro.
So why is this filter not greyed out?
David
So why is this filter not greyed out?
David
- Attachments
-
- TextPipe Standard popup
- TP_std_popup.png (33.74 KiB) Viewed 6875 times
David
- DataMystic Support
- Site Admin
- Posts: 2227
- Joined: Mon Jun 30, 2003 12:32 pm
- Location: Melbourne, Australia
- Contact:
Re: Automating conversion of RTF files to Unicode using Word
Hi David,
I will migrate the Convert Word/Excel/PDF filters to the Standard version and update the docy.
I will migrate the Convert Word/Excel/PDF filters to the Standard version and update the docy.
-
- Posts: 988
- Joined: Sun Dec 09, 2007 2:49 am
- Location: UK
Re: Automating conversion of RTF files to Unicode using Word
Excellent.
I look forward to getting the new release when it comes.
David
I look forward to getting the new release when it comes.
David
David