Hey Matt, thanks for your help!
Here's what I do
work\ruby script/console
>>doc = `c:\\antiword.exe c:\\test.doc`
=>"\n This is a pipe \267 but this is not a pipe.\n\r"
>>Bakery.create(:description=>doc)
=> #<Bakery id: 55, created_at: "2009-06-24 18:01:03", updated_at:
"2009-06-24 18:01:03", description: "\n This is a pipe \267 but
this is not a pipe.\n\r">
Then go to
http://localhost:3000/bakeries/55, where show.html.erb is
simply
<p>
<%= @bakery.description %>
<p>
with @bakery = Bakery.find(params[:id]) in Bakeries_Controller
HTML output:
<p>
This is a pipe
</p>
That's it, the entire process of what I do. I would want to try out
your solution of translating the character encoding. Could it be that
it is the same method as Phillip above suggested, by using Iconv? If
so, do I convert UTF-8 to LATIN1? Or something else?
Thanks!