[sword-devel] StripText() result not converted to UTF-8?

Joachim Ansorg nospam+sword-devel at joachim-ansorg.de
Wed Feb 14 13:45:04 MST 2007


Hi,
I'm just debugging a bug in BibleTime.

Our SWMgr is created to output utf8.
The module JFB contains the entitiy Æ .

When I call StripText() the entitity is converted to the corresponding 
character in the cp1252 charset, i.e. char with the value 0xC9.
I thought that the latin2utf8 filter would convert this plain text to utf8 
because I told SWMgr to do this for me.

Is there a way to set the output encoding for StripText() to be different than 
the module's encoding?

Thanks a lot,
Joachim
-- 
<>< Re: deemed
www.bibletime.info



More information about the sword-devel mailing list