Sorry the correct linkt to the code is here: http://bibleworkplace.sourceforge.net/sword2netdoc/swordbible_8cpp_source.html
wolfgang 2010/6/9 Wolfgang Schultz <woschu...@googlemail.com>: > Hello, > > the problem is fixed now. This code will provide readable text from a > given sword bible module > > http://bibleworkplace.sourceforge.net/sword2netdoc/sword2net_8cpp_source.html > > wolfgang > http://www.zefania.de > > > > 2010/5/26 Wolfgang Schultz <woschu...@googlemail.com>: >> Hello >> >> following code from the sword2net wrapper >> >> modules->Add(gcnew String(module->Name())); >> modules->Add(gcnew String(module->Description())); >> module->getKey()->increment(1); >> modules->Add(gcnew String(module->getKey()->getText())+ " "+ gcnew >> String(module->RenderText(module->getKey()))); >> >> produces this output. >> >> http://tinyurl.com/encoding-swmodule >> >> there is apparently an encoding problem. Therefore a few questions to >> SWModule :) >> >> 1. The module .conf contains an encoding section like >> "Encoding=UTF-8" will this encoding automatically pplied by creating >> an object of SWModule? >> >> 2. Reading data from the .conf file gives also an encoding error >> "module->Description()" how can i avoid this? >> >> >> wolfgang >> >> http://bibleworkplace.sourceforge.net/sword2netdoc/ >> >> http://bibleworkplace.svn.sourceforge.net/viewvc/bibleworkplace/trunk/Sword2Net/sword2net/ >> >> http://www.zefania.de >> > _______________________________________________ sword-devel mailing list: sword-devel@crosswire.org http://www.crosswire.org/mailman/listinfo/sword-devel Instructions to unsubscribe/change your settings at above page