> > : SWMgr(0,0,false,new MarkupFilterMgr( FMT_HTML, ENC_UTF8 )) > > > > Should do it. Thereby the appropriate filters are set to > give you UTF8 > > HTML output. Though we at BibleTime did our own HTML filters to do > > some special stuff. > > Hm. Afraid I spoke up too soon -- there is no FMT_HTML, only > FMT_THML. But > that is not what you want... Chris?
Hmm, I thought there was a FMT_HTML. In any case, it's probably not the best option. FMT_THML should be good if you want to handle some XML parsing yourself. Or better yet FMT_OSIS if you can wait about a month or two for it to be completely implemented. If you don't want to parse XML yourself, I would recommend Terry's excellent FMT_HTMLHREF filters. They're used in GnomeSword, by Diatheke/CGI, and (IIRC) QPSword. --Chris
