Thread View: adobe.framemaker.sgml
3 messages
3 total messages
Started by Robert_Low
Thu, 22 Jan 2009 03:47
FDK FrameMaker text extraction
Author: Robert_Low
Date: Thu, 22 Jan 2009 03:47
Date: Thu, 22 Jan 2009 03:47
14 lines
1005 bytes
1005 bytes
Hi, I need to extract text from FrameMaker documents. I can use, for example, textItems = F_ApiGetText( docId, fmtId, -1 ); to get a handle to the text under each fmtId. But when I tried to write this text out to a text file, characters like apostrophe appears to be some strange character. And when I saved the file into .txt file, FrameMaker can write the special characters without any problem. How can I do the same with api? Appreciate any help. Robert
Re: FDK FrameMaker text extraction
Author: Sheila_Carlisle
Date: Fri, 23 Jan 2009 16:33
Date: Fri, 23 Jan 2009 16:33
4 lines
828 bytes
828 bytes
Robert, if you haven't already done so, your question might find a wider FDK audience on the Frame-dev Yahoo list: <http://groups.yahoo.com/group/frame_dev/> Also, it would be good to post the specific version of FM that you are working with.
Re: FDK FrameMaker text extraction
Author: Russ Ward
Date: Fri, 23 Jan 2009 18:46
Date: Fri, 23 Jan 2009 18:46
3 lines
981 bytes
981 bytes
The problem that Robert is seeing is that special characters, like curly quotes, change once they are run through an FDK data structure and output to something like a text file. It must have something to do with character encodings but I don't understand that well enough to answer the question. Russ
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads