Reading Word DOC stored as BLOB in MySQL database

In a MySQL database, I am working with Microsoft Word document stores on a BLOB column. However, I cannot grab the text content in the word document. Any ideas? I am using ColdFusion 9. I tried something like:

<cfset myText = toString(toBinary(BLOBText))>

      

but just got a bunch of fuss. Any help is appreciated. Thank!

+3


source to share


1 answer


A word document is not just text, it contains a lot of other information embedded in it. If you want to parse text, you need to either save the text in front of your hand, or load the full text document using some library in your code and read it there.



+5


source







All Articles