On Sep 13, 2012, at 7:35 AM, rovin varshney wrote:
> Hello Everyone,
> I m looking for parsing doc/docx file in ruby on rails.
> I have use File.open('filename','r'), but it shows special character
> instead of the content of file .
If all you want is the text content of the files, you can try the ancient Unix
utility catdoc to do that. Just back-tick to that command (and make sure it's
installed in your Web server's path). The result will not be pretty, but it
will have all of the words in it.
Walter
>
> Thanks.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Talk" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msg/rubyonrails-talk/-/O5fkWF3a1ecJ.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit https://groups.google.com/groups/opt_out.