🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.framemaker.sgml
Article #281

FDK FrameMaker text extraction

#281
From: Robert_Low
Date: Thu, 22 Jan 2009 03:47
14 lines
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
Technical Details
Message-ID: <59b79491.-1@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newshub.sdsu.edu!webcrossing

Show Full Headers
Complete Article Headers
X-Google-Thread: fcc08,2dd301d41593fff6,start
X-Google-Attributes: gidfcc08,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: Robert_Low@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.framemaker.sgml
Subject: FDK FrameMaker text extraction
Message-ID: <59b79491.-1@webcrossing.la2eafNXanI>
Date: Wed, 21 Jan 2009 19:47:26 -0800
Lines: 17
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit