Hi,

In node-sword-interface I have a method getSwordTranslation which does the 
following:

std::string translation = 
std::string(this->_localeMgr->translate(originalString.c_str(), 
localeCode.c_str()));
return translation;

I have just found that this method does not do the right thing on Windows any 
longer.

When invoking my wrapper nsi.getSwordTranslation('Matthew', 'de') I now get the 
following:
Matth�us

The expected result should be: Matthäus

So the result is issues with German Umlaut characters. I only have this issue 
on Windows, though – the Umlaut’s are returned correctly on Linux.

The last SWORD revision I’ve been using without this issue is SVN Rev. 3747 
(from May 18th 2020).

This would be a showstopper for me if it does turn out to be an issue in SWORD.

Best regards,
Tobias
_______________________________________________
sword-devel mailing list: sword-devel@crosswire.org
http://crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page

Reply via email to