[sword-devel] "About" text in ChiNCV[st]
Jonathan Morgan
jonmmorgan at gmail.com
Sun Jun 15 04:52:15 MST 2008
On Sun, Jun 15, 2008 at 9:42 PM, Karl Kleinpaste <karl at kleinpaste.org> wrote:
> "Troy A. Griffitts" <scribe at crosswire.org> writes:
>> This SHOULD work. If it doesn't, we should fix it.
>
> It doesn't; it interprets only the \qc and \par directives.
> How does the Windows UI get the right result out of this?
>
> Breakpoint 1, BackEnd::get_config_entry (this=0xa1fb9f0, module_name=0xb89b420 "ChiNCVs",
> entry=0x81e0669 "About") at sword_main.cc:366
> 366 convertor.processText(about);
> Current language: auto; currently c++
> (gdb) p about.c_str()
> $1 = 0xba7d980 "\\qc\\u32178?\\u19978?\\u12298?\\u-32682?\\u32147?\\u26032?\\u-29841?\\u26412?\\u12299? \\par\\par\\pard \\u-32682?\\u32147?\\u26159?\\u31070?\\u32102?\\u20154?\\u-26530?\\u30340?\\u21402?\\u31150?\\u-244?\\u23427?\\u19981?\\u2"...
> (gdb) n
> 367 g_free(s);
> (gdb) p about.c_str()
> $2 = 0xba7d980 "<CENTER>\\u32178?\\u19978?\\u12298?\\u-32682?\\u32147?\\u26032?\\u-29841?\\u26412?\\u12299? <P>\n<P>\n</CENTER> \\u-32682?\\u32147?\\u26159?\\u31070?\\u32102?\\u20154?\\u-26530?\\u30340?\\u21402?\\u31150?\\u-244?\\u23427?\\u"...
The Windows UI is RTF, from memory, so it wouldn't be using the RTF ->
HTML filter.
Jon
More information about the sword-devel
mailing list