[sword-devel] sword2net:SWModule : Encoding

Wolfgang Schultz woschultz at googlemail.com
Wed May 26 10:31:01 MST 2010


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