<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style></head><body lang=DE><div class=WordSection1><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Hi,</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>In node-sword-interface I have a method getSwordTranslation which does the following:</p><p class=MsoNormal><o:p> </o:p></p><div><div><p class=MsoNormal style='line-height:14.25pt;background:white'><span style='font-size:10.5pt;font-family:Consolas;color:#267F99'>std</span><span style='font-size:10.5pt;font-family:Consolas;color:black'>::</span><span style='font-size:10.5pt;font-family:Consolas;color:#267F99'>string</span><span style='font-size:10.5pt;font-family:Consolas;color:black'> </span><span style='font-size:10.5pt;font-family:Consolas;color:#001080'>translation</span><span style='font-size:10.5pt;font-family:Consolas;color:black'> = </span><span style='font-size:10.5pt;font-family:Consolas;color:#267F99'>std</span><span style='font-size:10.5pt;font-family:Consolas;color:black'>::</span><span style='font-size:10.5pt;font-family:Consolas;color:#267F99'>string</span><span style='font-size:10.5pt;font-family:Consolas;color:black'>(</span><span style='font-size:10.5pt;font-family:Consolas;color:blue'>this</span><span style='font-size:10.5pt;font-family:Consolas;color:black'>-></span><span style='font-size:10.5pt;font-family:Consolas;color:#001080'>_localeMgr</span><span style='font-size:10.5pt;font-family:Consolas;color:black'>-></span><span style='font-size:10.5pt;font-family:Consolas;color:#795E26'>translate</span><span style='font-size:10.5pt;font-family:Consolas;color:black'>(</span><span style='font-size:10.5pt;font-family:Consolas;color:#001080'>originalString</span><span style='font-size:10.5pt;font-family:Consolas;color:black'>.</span><span style='font-size:10.5pt;font-family:Consolas;color:#795E26'>c_str</span><span style='font-size:10.5pt;font-family:Consolas;color:black'>(), </span><span style='font-size:10.5pt;font-family:Consolas;color:#001080'>localeCode</span><span style='font-size:10.5pt;font-family:Consolas;color:black'>.</span><span style='font-size:10.5pt;font-family:Consolas;color:#795E26'>c_str</span><span style='font-size:10.5pt;font-family:Consolas;color:black'>()));<o:p></o:p></span></p></div><div><p class=MsoNormal style='line-height:14.25pt;background:white'><span style='font-size:10.5pt;font-family:Consolas;color:#AF00DB'>return</span><span style='font-size:10.5pt;font-family:Consolas;color:black'> </span><span style='font-size:10.5pt;font-family:Consolas;color:#001080'>translation</span><span style='font-size:10.5pt;font-family:Consolas;color:black'>;<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I have just found that this method does not do the right thing on Windows any longer.</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>When invoking my wrapper nsi.getSwordTranslation('Matthew', 'de') I now get the following:</p><p class=MsoNormal>Matth�us</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>The expected result should be: Matthäus</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>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.</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>The last SWORD revision I’ve been using without this issue is SVN Rev. 3747 (from May 18th 2020).</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>This would be a showstopper for me if it does turn out to be an issue in SWORD.</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Best regards,<br>Tobias</p></div></body></html>