[sword-devel] sword2net:SWModule : Encoding
Wolfgang Schultz
woschultz at googlemail.com
Wed Jun 9 12:10:35 MST 2010
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 <woschultz at 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
>
More information about the sword-devel
mailing list