<div dir="ltr"><div>Tobias,</div><div><br></div><div>That's awesome to see that CMake is working out for building on Windows. Two quick questions:</div><div><br></div><div>1) Are any of those CLI flags ones that we should include into the CMakeLists.txt somewhere? I'm thinking specifically of the one where you tell the system to export all symbols, but any others that should be included or defaulted are also OK. Let me know and I can work on putting them into the system to simplify your build process.</div><div><br></div><div>2) What version of CMake are you using? Someone on another thread is struggling to build on Windows because of the default install directory being set with \\ as the path separator and needed to switch it to / instead. But they're on CMake 3.18.2, so I'm curious what version you're on and if that is a new development in the CMake versions that they'll understand Unix path separators on Windows.</div><div><br></div><div>--Greg<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Oct 4, 2020 at 12:15 PM Tobias Klein <<a href="mailto:contact@tklein.info">contact@tklein.info</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<p>I managed to fix my SWORD build for Windows without changing
anything in the sources. I've changed the way how the CMake
options for ICU are set at the time when CMake is configured.</p>
<p>Previously I didn't have the ICU_ROOT variable set. After
changing that to the correct value, ICU is detected correctly. For
those curious, this is the current build script I'm using for
SWORD on Windows:</p>
<p><a href="https://github.com/tobias-klein/sword-build-win32/blob/71e23ea83ad93a066c2fc0264f4c633025234712/build_sword.bat" target="_blank">https://github.com/tobias-klein/sword-build-win32/blob/71e23ea83ad93a066c2fc0264f4c633025234712/build_sword.bat</a></p>
<p>After configuring the SWORD Windows build like this I'm not
getting the "Umlaut" issue anymore that triggered this e-mail
thread.<br>
</p>
<p>Best regards,<br>
Tobias<br>
</p>
<div>On 10/3/20 9:39 PM, Tobias Klein wrote:<br>
</div>
<blockquote type="cite">
<p>Ok, so it's not about the CMake version. Current build still
has issues with the older CMake version.</p>
<p>I've checked on changes in CMakeLists.txt.</p>
<p>Greg changed this on July 28th (SVN Rev. 3773, Commit message
"Simplify finding libraries").</p>
<p>Diff:
<a href="https://github.com/bibletime/crosswire-sword-mirror/commit/dfcb4e42fd61a295c6c0e60a62088c34fd139f76#diff-af3b638bc2a3e6c650974192a53c7291" target="_blank">https://github.com/bibletime/crosswire-sword-mirror/commit/dfcb4e42fd61a295c6c0e60a62088c34fd139f76#diff-af3b638bc2a3e6c650974192a53c7291</a></p>
<p>For MSVC the following ICU related configuration changed:</p>
<p>Previously (before SVN Rev. 3773):<br>
</p>
<p><span style="box-sizing:border-box;color:rgb(0,92,197);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,monospace;font-size:12px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:pre-wrap;word-spacing:0px;background-color:rgb(255,238,240);text-decoration-style:initial;text-decoration-color:initial">FIND_PACKAGE</span><span style="color:rgb(36,41,46);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,monospace;font-size:12px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:pre-wrap;word-spacing:0px;background-color:rgb(255,238,240);text-decoration-style:initial;text-decoration-color:initial;display:inline;float:none">(ICU </span><span style="box-sizing:border-box;color:rgb(215,58,73);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,monospace;font-size:12px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:pre-wrap;word-spacing:0px;background-color:rgb(255,238,240);text-decoration-style:initial;text-decoration-color:initial">REQUIRED</span><span style="color:rgb(36,41,46);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,monospace;font-size:12px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:pre-wrap;word-spacing:0px;background-color:rgb(255,238,240);text-decoration-style:initial;text-decoration-color:initial;display:inline;float:none">)</span></p>
<div>Now (from SVN Rev. 3773):<br>
<br>
</div>
<div><span style="box-sizing:border-box;color:rgb(0,92,197);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,monospace;font-size:12px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:pre-wrap;word-spacing:0px;background-color:rgb(230,255,237);text-decoration-style:initial;text-decoration-color:initial">FIND_PACKAGE</span><span style="color:rgb(36,41,46);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,monospace;font-size:12px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:pre-wrap;word-spacing:0px;background-color:rgb(230,255,237);text-decoration-style:initial;text-decoration-color:initial;display:inline;float:none">(ICU
</span><span style="color:rgb(36,41,46);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,monospace;font-size:12px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:pre-wrap;word-spacing:0px;background-color:rgb(230,255,237);text-decoration-style:initial;text-decoration-color:initial;display:inline;float:none"> </span><span style="box-sizing:border-box;color:rgb(215,58,73);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,monospace;font-size:12px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:pre-wrap;word-spacing:0px;background-color:rgb(230,255,237);text-decoration-style:initial;text-decoration-color:initial">COMPONENTS</span><span style="color:rgb(36,41,46);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,monospace;font-size:12px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:pre-wrap;word-spacing:0px;background-color:rgb(230,255,237);text-decoration-style:initial;text-decoration-color:initial;display:inline;float:none"> data i18n io uc)</span><br>
<span style="color:rgb(36,41,46);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,monospace;font-size:12px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:pre-wrap;word-spacing:0px;background-color:rgb(230,255,237);text-decoration-style:initial;text-decoration-color:initial;display:inline;float:none"></span></div>
<div><br>
</div>
<div><u>This looks like the root-cause to
my issue.</u></div>
<div><br>
</div>
<div>With the previous command ICU is
correctly found resulting in</div>
<div><span style="box-sizing:border-box;margin-left:16px;display:inline-block;overflow-x:auto;white-space:pre-wrap"><span style="box-sizing:border-box">Found ICU: D:/a/sword-build-win32/sword-build-win32/icu/icu4c/include (found version "65.1") </span></span></div>
<div><br>
</div>
<div>With the new command ICU is only
partially found and then subsequently ignored alltogether:</div>
<div><br>
</div>
<div>
<div>
<div style="box-sizing:border-box">
<div style="box-sizing:border-box">
<div style="box-sizing:border-box;display:flex;line-height:20px;color:rgb(225,228,232)"><span style="box-sizing:border-box;margin-left:16px;display:inline-block;overflow-x:auto;white-space:pre-wrap"><span style="box-sizing:border-box">-- SEARCHING FOR SYTEM PACKAGES
</span></span></div>
</div>
<div style="box-sizing:border-box">
<div style="box-sizing:border-box;display:flex;line-height:20px;color:rgb(225,228,232)"><a href="https://github.com/tobias-klein/sword-build-win32/runs/1145121405?check_suite_focus=true#step:6:5089" style="box-sizing:border-box;background-color:initial;color:rgba(149,157,165,0.75);text-decoration:none;font-weight:400;font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,monospace;display:inline-block;width:48px;overflow:hidden;text-align:right;text-overflow:ellipsis;white-space:nowrap" target="_blank">5089</a><span style="box-sizing:border-box;margin-left:16px;display:inline-block;overflow-x:auto;white-space:pre-wrap"><span style="box-sizing:border-box">-- Found the following ICU libraries:
</span></span></div>
</div>
<div style="box-sizing:border-box">
<div style="box-sizing:border-box;display:flex;line-height:20px;color:rgb(225,228,232)"><a href="https://github.com/tobias-klein/sword-build-win32/runs/1145121405?check_suite_focus=true#step:6:5090" style="box-sizing:border-box;background-color:initial;color:rgba(149,157,165,0.75);text-decoration:none;font-weight:400;font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,monospace;display:inline-block;width:48px;overflow:hidden;text-align:right;text-overflow:ellipsis;white-space:nowrap" target="_blank">5090</a><span style="box-sizing:border-box;margin-left:16px;display:inline-block;overflow-x:auto;white-space:pre-wrap"><span style="box-sizing:border-box">-- i18n (required)
</span></span></div>
</div>
<div style="box-sizing:border-box">
<div style="box-sizing:border-box;display:flex;line-height:20px;color:rgb(225,228,232)"><a href="https://github.com/tobias-klein/sword-build-win32/runs/1145121405?check_suite_focus=true#step:6:5091" style="box-sizing:border-box;background-color:initial;color:rgba(149,157,165,0.75);text-decoration:none;font-weight:400;font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,monospace;display:inline-block;width:48px;overflow:hidden;text-align:right;text-overflow:ellipsis;white-space:nowrap" target="_blank">5091</a><span style="box-sizing:border-box;margin-left:16px;display:inline-block;overflow-x:auto;white-space:pre-wrap"><span style="box-sizing:border-box">-- uc (required)
</span></span></div>
</div>
<div style="box-sizing:border-box">
<div style="box-sizing:border-box;display:flex;line-height:20px;color:rgb(225,228,232)"><a href="https://github.com/tobias-klein/sword-build-win32/runs/1145121405?check_suite_focus=true#step:6:5092" style="box-sizing:border-box;background-color:initial;color:rgba(149,157,165,0.75);text-decoration:none;font-weight:400;font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,monospace;display:inline-block;width:48px;overflow:hidden;text-align:right;text-overflow:ellipsis;white-space:nowrap" target="_blank">5092</a><span style="box-sizing:border-box;margin-left:16px;display:inline-block;overflow-x:auto;white-space:pre-wrap"><span style="box-sizing:border-box">-- The following ICU libraries were not found:
</span></span></div>
</div>
<div style="box-sizing:border-box">
<div style="box-sizing:border-box;display:flex;line-height:20px;color:rgb(225,228,232)"><a href="https://github.com/tobias-klein/sword-build-win32/runs/1145121405?check_suite_focus=true#step:6:5093" style="box-sizing:border-box;background-color:initial;color:rgba(149,157,165,0.75);text-decoration:none;font-weight:400;font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,monospace;display:inline-block;width:48px;overflow:hidden;text-align:right;text-overflow:ellipsis;white-space:nowrap" target="_blank">5093</a><span style="box-sizing:border-box;margin-left:16px;display:inline-block;overflow-x:auto;white-space:pre-wrap"><span style="box-sizing:border-box">-- data (required)
</span></span></div>
</div>
<div style="box-sizing:border-box">
<div style="box-sizing:border-box;display:flex;line-height:20px;color:rgb(225,228,232)"><a href="https://github.com/tobias-klein/sword-build-win32/runs/1145121405?check_suite_focus=true#step:6:5094" style="box-sizing:border-box;background-color:initial;color:rgba(149,157,165,0.75);text-decoration:none;font-weight:400;font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,monospace;display:inline-block;width:48px;overflow:hidden;text-align:right;text-overflow:ellipsis;white-space:nowrap" target="_blank">5094</a><span style="box-sizing:border-box;margin-left:16px;display:inline-block;overflow-x:auto;white-space:pre-wrap"><span style="box-sizing:border-box">-- io (required)
</span></span></div>
</div>
<div style="box-sizing:border-box">
<div style="box-sizing:border-box;display:flex;line-height:20px;color:rgb(225,228,232)"><a href="https://github.com/tobias-klein/sword-build-win32/runs/1145121405?check_suite_focus=true#step:6:5095" style="box-sizing:border-box;background-color:initial;color:rgba(149,157,165,0.75);text-decoration:none;font-weight:400;font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,monospace;display:inline-block;width:48px;overflow:hidden;text-align:right;text-overflow:ellipsis;white-space:nowrap" target="_blank">5095</a><span style="box-sizing:border-box;margin-left:16px;display:inline-block;overflow-x:auto;white-space:pre-wrap"><span style="box-sizing:border-box">-- Failed to find all ICU components (missing: _ICU_REQUIRED_LIBS_FOUND) (found version "65.1")</span></span></div>
</div>
</div>
</div>
<br>
<div>I guess I can now figure out why
the data component and the io component are not found. In any
case, before that change I could successfully build and link
against ICU and in my application I did not get problems with
German Umlaut's, which I now have ...</div>
<div><br>
</div>
<div>I just double-checked the build
with SVN Rev. 3772 (the version before Greg's change) and
there ICU is still found correctly:</div>
<div><br>
<div>
<div style="box-sizing:border-box">
<div style="box-sizing:border-box;display:flex;line-height:20px;color:rgb(250,251,252);background-color:rgb(47,54,61)"><span style="box-sizing:border-box;margin-left:16px;display:inline-block;overflow-x:auto;white-space:pre-wrap"><span style="box-sizing:border-box">-- SEARCHING FOR SYTEM PACKAGES
</span></span></div>
</div>
</div>
<div>
<div style="box-sizing:border-box">
<div style="box-sizing:border-box;display:flex;line-height:20px;color:rgb(225,228,232)"><a href="https://github.com/tobias-klein/sword-build-win32/runs/1203590932?check_suite_focus=true#step:12:88" style="box-sizing:border-box;background-color:initial;color:rgba(149,157,165,0.75);text-decoration:none;font-weight:400;font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,monospace;display:inline-block;width:48px;overflow:hidden;text-align:right;text-overflow:ellipsis;white-space:nowrap" target="_blank">88</a><span style="box-sizing:border-box;margin-left:16px;display:inline-block;overflow-x:auto;white-space:pre-wrap"><span style="box-sizing:border-box">-- Found ICU: D:/a/sword-build-win32/sword-build-win32/icu/icu4c/include (found version "65.1") </span></span></div>
</div>
</div>
</div>
<div><br>
</div>
<div>Any additional pointers? Are the
ICU data and io components <u>actually</u> required by SWORD?
I didn't seem to need them before.<br>
</div>
<div><br>
</div>
<div>Best regards,<br>
Tobias</div>
<div><br>
</div>
</div>
<div>On 10/3/20 8:09 PM, Tobias Klein
wrote:<br>
</div>
<blockquote type="cite">
<p>When building SWORD based on SVN Rev. 3747 (May 18th) I get
the following CMake output and with this SWORD version ICU <u>is
still found correctly</u>.</p>
<p>For both builds (ICU found vs. not found) I've been using the
same ICU sources (Version 65, tag <i>release-65-1</i>, <a href="https://github.com/unicode-org/icu/tree/release-65-1" target="_blank">https://github.com/unicode-org/icu/tree/release-65-1</a>).</p>
<p>Since May 18th - has something changed in how the ICU library
is found/detected?</p>
<p>I will now check which CMake version is used on the GitHub
build agents, I don't think I'm controlling that at the
moment.<br>
</p>
<div style="box-sizing:border-box;color:rgb(36,41,46);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,monospace;font-size:12px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(36,41,46);text-decoration-style:initial;text-decoration-color:initial">
<div style="box-sizing:border-box;display:flex;line-height:20px;color:rgb(225,228,232)"><span style="box-sizing:border-box;margin-left:16px;display:inline-block;overflow-x:auto;white-space:pre-wrap"><span style="box-sizing:border-box">-- SEARCHING FOR SYTEM PACKAGES
</span></span></div>
</div>
<div style="box-sizing:border-box;color:rgb(36,41,46);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,monospace;font-size:12px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(36,41,46);text-decoration-style:initial;text-decoration-color:initial">
<div style="box-sizing:border-box;display:flex;line-height:20px;color:rgb(225,228,232)"><a href="https://github.com/tobias-klein/sword-build-win32/runs/1203392535?check_suite_focus=true#step:12:88" target="_blank">88</a><span style="box-sizing:border-box;margin-left:16px;display:inline-block;overflow-x:auto;white-space:pre-wrap"><span style="box-sizing:border-box">-- Found ICU: D:/a/sword-build-win32/sword-build-win32/icu/icu4c/include (found version "65.1")
</span></span></div>
</div>
<div style="box-sizing:border-box;color:rgb(36,41,46);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,monospace;font-size:12px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(36,41,46);text-decoration-style:initial;text-decoration-color:initial">
<div style="box-sizing:border-box;display:flex;line-height:20px;color:rgb(225,228,232)"><a href="https://github.com/tobias-klein/sword-build-win32/runs/1203392535?check_suite_focus=true#step:12:89" target="_blank">89</a><span style="box-sizing:border-box;margin-left:16px;display:inline-block;overflow-x:auto;white-space:pre-wrap"><span style="box-sizing:border-box">-- Found CURL: D:\a\sword-build-win32\sword-build-win32\dist\lib\libcurl_imp.lib (found version "7.68.0-DEV")
</span></span></div>
</div>
<div style="box-sizing:border-box;color:rgb(36,41,46);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,monospace;font-size:12px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(36,41,46);text-decoration-style:initial;text-decoration-color:initial">
<div style="box-sizing:border-box;display:flex;line-height:20px;color:rgb(225,228,232)"><a href="https://github.com/tobias-klein/sword-build-win32/runs/1203392535?check_suite_focus=true#step:12:90" target="_blank">90</a><span style="box-sizing:border-box;margin-left:16px;display:inline-block;overflow-x:auto;white-space:pre-wrap"><span style="box-sizing:border-box">-- System regex.h: No
</span></span></div>
</div>
<div style="box-sizing:border-box;color:rgb(36,41,46);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,monospace;font-size:12px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(36,41,46);text-decoration-style:initial;text-decoration-color:initial">
<div style="box-sizing:border-box;display:flex;line-height:20px;color:rgb(225,228,232)"><a href="https://github.com/tobias-klein/sword-build-win32/runs/1203392535?check_suite_focus=true#step:12:91" target="_blank">91</a><span style="box-sizing:border-box;margin-left:16px;display:inline-block;overflow-x:auto;white-space:pre-wrap"><span style="box-sizing:border-box">--
</span></span></div>
</div>
<div style="box-sizing:border-box;color:rgb(36,41,46);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,monospace;font-size:12px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(36,41,46);text-decoration-style:initial;text-decoration-color:initial">
<div style="box-sizing:border-box;display:flex;line-height:20px;color:rgb(225,228,232)"><a href="https://github.com/tobias-klein/sword-build-win32/runs/1203392535?check_suite_focus=true#step:12:92" target="_blank">92</a><span style="box-sizing:border-box;margin-left:16px;display:inline-block;overflow-x:auto;white-space:pre-wrap"><span style="box-sizing:border-box">-- CONFIGURING SOURCE LIST
</span></span></div>
</div>
<div style="box-sizing:border-box;color:rgb(36,41,46);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,monospace;font-size:12px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(36,41,46);text-decoration-style:initial;text-decoration-color:initial">
<div style="box-sizing:border-box;display:flex;line-height:20px;color:rgb(225,228,232)"><a href="https://github.com/tobias-klein/sword-build-win32/runs/1203392535?check_suite_focus=true#step:12:93" target="_blank">93</a><span style="box-sizing:border-box;margin-left:16px;display:inline-block;overflow-x:auto;white-space:pre-wrap"><span style="box-sizing:border-box">-- ZLib: internal
</span></span></div>
</div>
<div style="box-sizing:border-box;color:rgb(36,41,46);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,monospace;font-size:12px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(36,41,46);text-decoration-style:initial;text-decoration-color:initial">
<div style="box-sizing:border-box;display:flex;line-height:20px;color:rgb(225,228,232)"><a href="https://github.com/tobias-klein/sword-build-win32/runs/1203392535?check_suite_focus=true#step:12:94" target="_blank">94</a><span style="box-sizing:border-box;margin-left:16px;display:inline-block;overflow-x:auto;white-space:pre-wrap"><span style="box-sizing:border-box">-- bzip2: system D:/a/sword-build-win32/sword-build-win32/dist/lib/libbz2.lib
</span></span></div>
</div>
<div style="box-sizing:border-box;color:rgb(36,41,46);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,monospace;font-size:12px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(36,41,46);text-decoration-style:initial;text-decoration-color:initial">
<div style="box-sizing:border-box;display:flex;line-height:20px;color:rgb(250,251,252);background-color:rgb(47,54,61)"><a href="https://github.com/tobias-klein/sword-build-win32/runs/1203392535?check_suite_focus=true#step:12:95" target="_blank">95</a><span style="box-sizing:border-box;margin-left:16px;display:inline-block;overflow-x:auto;white-space:pre-wrap"><span style="box-sizing:border-box">-- xz: system D:/a/sword-build-win32/sword-build-win32/dist/lib/liblzma.lib
</span></span></div>
</div>
<div style="box-sizing:border-box;color:rgb(36,41,46);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,monospace;font-size:12px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(36,41,46);text-decoration-style:initial;text-decoration-color:initial">
<div style="box-sizing:border-box;display:flex;line-height:20px;color:rgb(225,228,232)"><a href="https://github.com/tobias-klein/sword-build-win32/runs/1203392535?check_suite_focus=true#step:12:96" target="_blank">96</a><span style="box-sizing:border-box;margin-left:16px;display:inline-block;overflow-x:auto;white-space:pre-wrap"><span style="box-sizing:border-box">-- cURL: system D:\a\sword-build-win32\sword-build-win32\dist\lib\libcurl_imp.lib and D:/a/sword-build-win32/sword-build-win32/curl/include
</span></span></div>
</div>
<div style="box-sizing:border-box;color:rgb(36,41,46);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,monospace;font-size:12px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(36,41,46);text-decoration-style:initial;text-decoration-color:initial">
<div style="box-sizing:border-box;display:flex;line-height:20px;color:rgb(225,228,232)"><a href="https://github.com/tobias-klein/sword-build-win32/runs/1203392535?check_suite_focus=true#step:12:97" target="_blank">97</a><span style="box-sizing:border-box;margin-left:16px;display:inline-block;overflow-x:auto;white-space:pre-wrap"><span style="box-sizing:border-box">-- CLucene: no
</span></span></div>
</div>
<div style="box-sizing:border-box;color:rgb(36,41,46);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,monospace;font-size:12px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(36,41,46);text-decoration-style:initial;text-decoration-color:initial">
<div style="box-sizing:border-box;display:flex;line-height:20px;color:rgb(225,228,232)"><a href="https://github.com/tobias-klein/sword-build-win32/runs/1203392535?check_suite_focus=true#step:12:98" target="_blank">98</a><span style="box-sizing:border-box;margin-left:16px;display:inline-block;overflow-x:auto;white-space:pre-wrap"><span style="box-sizing:border-box">-- PkgConfig: no
</span></span></div>
</div>
<div style="box-sizing:border-box;color:rgb(36,41,46);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,monospace;font-size:12px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(36,41,46);text-decoration-style:initial;text-decoration-color:initial">
<div style="box-sizing:border-box;display:flex;line-height:20px;color:rgb(225,228,232)"><a href="https://github.com/tobias-klein/sword-build-win32/runs/1203392535?check_suite_focus=true#step:12:99" target="_blank">99</a><span style="box-sizing:border-box;margin-left:16px;display:inline-block;overflow-x:auto;white-space:pre-wrap"><span style="box-sizing:border-box">-- ICU: yes D:\a\sword-build-win32\sword-build-win32\dist\lib\icudt.lib;D:\a\sword-build-win32\sword-build-win32\dist\lib\icuin.lib;D:\a\sword-build-win32\sword-build-win32\dist\lib\icuuc.lib and D:/a/sword-build-win32/sword-build-win32/icu/icu4c/include
</span></span></div>
</div>
<div style="box-sizing:border-box;color:rgb(36,41,46);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,monospace;font-size:12px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(36,41,46);text-decoration-style:initial;text-decoration-color:initial">
<div style="box-sizing:border-box;display:flex;line-height:20px;color:rgb(225,228,232)"><a href="https://github.com/tobias-klein/sword-build-win32/runs/1203392535?check_suite_focus=true#step:12:100" target="_blank">100</a><span style="box-sizing:border-box;margin-left:16px;display:inline-block;overflow-x:auto;white-space:pre-wrap"><span style="box-sizing:border-box">-- Regex.h: internal
</span></span></div>
</div>
<div style="box-sizing:border-box;color:rgb(36,41,46);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,monospace;font-size:12px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(36,41,46);text-decoration-style:initial;text-decoration-color:initial">
<div style="box-sizing:border-box;display:flex;line-height:20px;color:rgb(225,228,232)"><a href="https://github.com/tobias-klein/sword-build-win32/runs/1203392535?check_suite_focus=true#step:12:101" target="_blank">101</a><span style="box-sizing:border-box;margin-left:16px;display:inline-block;overflow-x:auto;white-space:pre-wrap"><span style="box-sizing:border-box">-- Building Shared library.
</span></span></div>
</div>
<div style="box-sizing:border-box;color:rgb(36,41,46);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,monospace;font-size:12px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(36,41,46);text-decoration-style:initial;text-decoration-color:initial">
<div style="box-sizing:border-box;display:flex;line-height:20px;color:rgb(225,228,232)"><a href="https://github.com/tobias-klein/sword-build-win32/runs/1203392535?check_suite_focus=true#step:12:102" target="_blank">102</a><span style="box-sizing:border-box;margin-left:16px;display:inline-block;overflow-x:auto;white-space:pre-wrap"><span style="box-sizing:border-box">-- Building Static library.
</span></span></div>
</div>
<div style="box-sizing:border-box;color:rgb(36,41,46);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,monospace;font-size:12px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(36,41,46);text-decoration-style:initial;text-decoration-color:initial">
<div style="box-sizing:border-box;display:flex;line-height:20px;color:rgb(225,228,232)"><a href="https://github.com/tobias-klein/sword-build-win32/runs/1203392535?check_suite_focus=true#step:12:103" target="_blank">103</a><span style="box-sizing:border-box;margin-left:16px;display:inline-block;overflow-x:auto;white-space:pre-wrap"><span style="box-sizing:border-box">-- Setting SOVERSION to 1.8.900
</span></span></div>
</div>
<div style="box-sizing:border-box;color:rgb(36,41,46);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,monospace;font-size:12px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(36,41,46);text-decoration-style:initial;text-decoration-color:initial">
<div style="box-sizing:border-box;display:flex;line-height:20px;color:rgb(225,228,232)"><a href="https://github.com/tobias-klein/sword-build-win32/runs/1203392535?check_suite_focus=true#step:12:104" target="_blank">104</a><span style="box-sizing:border-box;margin-left:16px;display:inline-block;overflow-x:auto;white-space:pre-wrap"><span style="box-sizing:border-box">-- ICU Version: 65.1
</span></span></div>
</div>
<div style="box-sizing:border-box;color:rgb(36,41,46);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,monospace;font-size:12px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(36,41,46);text-decoration-style:initial;text-decoration-color:initial">
<div style="box-sizing:border-box;display:flex;line-height:20px;color:rgb(225,228,232)"><a href="https://github.com/tobias-klein/sword-build-win32/runs/1203392535?check_suite_focus=true#step:12:105" target="_blank">105</a><span style="box-sizing:border-box;margin-left:16px;display:inline-block;overflow-x:auto;white-space:pre-wrap"><span style="box-sizing:border-box">-- Setting link libraries to D:/a/sword-build-win32/sword-build-win32/dist/lib/libbz2.lib;D:/a/sword-build-win32/sword-build-win32/dist/lib/liblzma.lib;D:\a\sword-build-win32\sword-build-win32\dist\lib\libcurl_imp.lib;D:\a\sword-build-win32\sword-build-win32\dist\lib\icudt.lib;D:\a\sword-build-win32\sword-build-win32\dist\lib\icuin.lib;D:\a\sword-build-win32\sword-build-win32\dist\lib\icuuc.lib</span></span></div>
</div>
<div><br>
</div>
<div>On 10/3/20 7:29 PM, Tobias Klein
wrote:<br>
</div>
<blockquote type="cite">
<p>Yes, I'm building SWORD with ICU. The build procedure has
not changed recently.</p>
<p>This is the batch script that builds SWORD on Windows:</p>
<p><a href="https://github.com/tobias-klein/sword-build-win32/blob/master/build_sword.bat" target="_blank">https://github.com/tobias-klein/sword-build-win32/blob/master/build_sword.bat</a></p>
<p>However, I just found some interesting warnings in the
build output from the most recent build:</p>
<div>
<div style="box-sizing:border-box">
<div style="box-sizing:border-box">
<div style="box-sizing:border-box;display:flex;line-height:20px;color:rgb(225,228,232)"><span style="box-sizing:border-box;margin-left:16px;display:inline-block;overflow-x:auto;white-space:pre-wrap"><span style="box-sizing:border-box">-- SEARCHING FOR SYTEM PACKAGES
</span></span></div>
</div>
<div style="box-sizing:border-box">
<div style="box-sizing:border-box;display:flex;line-height:20px;color:rgb(225,228,232)"><a href="https://github.com/tobias-klein/sword-build-win32/runs/1145121405?check_suite_focus=true#step:6:5089" target="_blank">5089</a><span style="box-sizing:border-box;margin-left:16px;display:inline-block;overflow-x:auto;white-space:pre-wrap"><span style="box-sizing:border-box">-- Found the following ICU libraries:
</span></span></div>
</div>
<div style="box-sizing:border-box">
<div style="box-sizing:border-box;display:flex;line-height:20px;color:rgb(225,228,232)"><a href="https://github.com/tobias-klein/sword-build-win32/runs/1145121405?check_suite_focus=true#step:6:5090" target="_blank">5090</a><span style="box-sizing:border-box;margin-left:16px;display:inline-block;overflow-x:auto;white-space:pre-wrap"><span style="box-sizing:border-box">-- i18n (required)
</span></span></div>
</div>
<div style="box-sizing:border-box">
<div style="box-sizing:border-box;display:flex;line-height:20px;color:rgb(225,228,232)"><a href="https://github.com/tobias-klein/sword-build-win32/runs/1145121405?check_suite_focus=true#step:6:5091" target="_blank">5091</a><span style="box-sizing:border-box;margin-left:16px;display:inline-block;overflow-x:auto;white-space:pre-wrap"><span style="box-sizing:border-box">-- uc (required)
</span></span></div>
</div>
<div style="box-sizing:border-box">
<div style="box-sizing:border-box;display:flex;line-height:20px;color:rgb(225,228,232)"><a href="https://github.com/tobias-klein/sword-build-win32/runs/1145121405?check_suite_focus=true#step:6:5092" target="_blank">5092</a><span style="box-sizing:border-box;margin-left:16px;display:inline-block;overflow-x:auto;white-space:pre-wrap"><span style="box-sizing:border-box">-- The following ICU libraries were not found:
</span></span></div>
</div>
<div style="box-sizing:border-box">
<div style="box-sizing:border-box;display:flex;line-height:20px;color:rgb(225,228,232)"><a href="https://github.com/tobias-klein/sword-build-win32/runs/1145121405?check_suite_focus=true#step:6:5093" target="_blank">5093</a><span style="box-sizing:border-box;margin-left:16px;display:inline-block;overflow-x:auto;white-space:pre-wrap"><span style="box-sizing:border-box">-- data (required)
</span></span></div>
</div>
<div style="box-sizing:border-box">
<div style="box-sizing:border-box;display:flex;line-height:20px;color:rgb(225,228,232)"><a href="https://github.com/tobias-klein/sword-build-win32/runs/1145121405?check_suite_focus=true#step:6:5094" target="_blank">5094</a><span style="box-sizing:border-box;margin-left:16px;display:inline-block;overflow-x:auto;white-space:pre-wrap"><span style="box-sizing:border-box">-- io (required)
</span></span></div>
</div>
<div style="box-sizing:border-box">
<div style="box-sizing:border-box;display:flex;line-height:20px;color:rgb(225,228,232)"><a href="https://github.com/tobias-klein/sword-build-win32/runs/1145121405?check_suite_focus=true#step:6:5095" target="_blank">5095</a><span style="box-sizing:border-box;margin-left:16px;display:inline-block;overflow-x:auto;white-space:pre-wrap"><span style="box-sizing:border-box">-- Failed to find all ICU components (missing: _ICU_REQUIRED_LIBS_FOUND) (found version "65.1")
</span></span></div>
</div>
<div style="box-sizing:border-box">
<div style="box-sizing:border-box;display:flex;line-height:20px;color:rgb(225,228,232)"><a href="https://github.com/tobias-klein/sword-build-win32/runs/1145121405?check_suite_focus=true#step:6:5096" target="_blank">5096</a><span style="box-sizing:border-box;margin-left:16px;display:inline-block;overflow-x:auto;white-space:pre-wrap"><span style="box-sizing:border-box">-- System regex.h: No
</span></span></div>
</div>
<div style="box-sizing:border-box">
<div style="box-sizing:border-box;display:flex;line-height:20px;color:rgb(225,228,232)"><a href="https://github.com/tobias-klein/sword-build-win32/runs/1145121405?check_suite_focus=true#step:6:5097" target="_blank">5097</a><span style="box-sizing:border-box;margin-left:16px;display:inline-block;overflow-x:auto;white-space:pre-wrap"><span style="box-sizing:border-box">--
</span></span></div>
</div>
<div style="box-sizing:border-box">
<div style="box-sizing:border-box;display:flex;line-height:20px;color:rgb(225,228,232)"><a href="https://github.com/tobias-klein/sword-build-win32/runs/1145121405?check_suite_focus=true#step:6:5098" target="_blank">5098</a><span style="box-sizing:border-box;margin-left:16px;display:inline-block;overflow-x:auto;white-space:pre-wrap"><span style="box-sizing:border-box">-- CONFIGURING SOURCE LIST
</span></span></div>
</div>
<div style="box-sizing:border-box">
<div style="box-sizing:border-box;display:flex;line-height:20px;color:rgb(225,228,232)"><a href="https://github.com/tobias-klein/sword-build-win32/runs/1145121405?check_suite_focus=true#step:6:5099" target="_blank">5099</a><span style="box-sizing:border-box;margin-left:16px;display:inline-block;overflow-x:auto;white-space:pre-wrap"><span style="box-sizing:border-box">-- ZLib: internal
</span></span></div>
</div>
<div style="box-sizing:border-box">
<div style="box-sizing:border-box;display:flex;line-height:20px;color:rgb(225,228,232)"><a href="https://github.com/tobias-klein/sword-build-win32/runs/1145121405?check_suite_focus=true#step:6:5100" target="_blank">5100</a><span style="box-sizing:border-box;margin-left:16px;display:inline-block;overflow-x:auto;white-space:pre-wrap"><span style="box-sizing:border-box">-- bzip2: system D:/a/sword-build-win32/sword-build-win32/dist/lib/libbz2.lib
</span></span></div>
</div>
</div>
</div>
<div>
<div style="box-sizing:border-box">
<div style="box-sizing:border-box">
<div style="box-sizing:border-box;display:flex;line-height:20px;color:rgb(225,228,232)"><a href="https://github.com/tobias-klein/sword-build-win32/runs/1145121405?check_suite_focus=true#step:6:5101" target="_blank">5101</a><span style="box-sizing:border-box;margin-left:16px;display:inline-block;overflow-x:auto;white-space:pre-wrap"><span style="box-sizing:border-box">-- xz: system D:/a/sword-build-win32/sword-build-win32/dist/lib/liblzma.lib
</span></span></div>
</div>
<div style="box-sizing:border-box">
<div style="box-sizing:border-box;display:flex;line-height:20px;color:rgb(225,228,232)"><a href="https://github.com/tobias-klein/sword-build-win32/runs/1145121405?check_suite_focus=true#step:6:5102" target="_blank">5102</a><span style="box-sizing:border-box;margin-left:16px;display:inline-block;overflow-x:auto;white-space:pre-wrap"><span style="box-sizing:border-box">-- cURL: system D:\a\sword-build-win32\sword-build-win32\dist\lib\libcurl_imp.lib and D:/a/sword-build-win32/sword-build-win32/curl/include
</span></span></div>
</div>
<div style="box-sizing:border-box">
<div style="box-sizing:border-box;display:flex;line-height:20px;color:rgb(225,228,232)"><a href="https://github.com/tobias-klein/sword-build-win32/runs/1145121405?check_suite_focus=true#step:6:5103" target="_blank">5103</a><span style="box-sizing:border-box;margin-left:16px;display:inline-block;overflow-x:auto;white-space:pre-wrap"><span style="box-sizing:border-box">-- CLucene: no
</span></span></div>
</div>
<div style="box-sizing:border-box">
<div style="box-sizing:border-box;display:flex;line-height:20px;color:rgb(225,228,232)"><a href="https://github.com/tobias-klein/sword-build-win32/runs/1145121405?check_suite_focus=true#step:6:5104" target="_blank">5104</a><span style="box-sizing:border-box;margin-left:16px;display:inline-block;overflow-x:auto;white-space:pre-wrap"><span style="box-sizing:border-box">-- PkgConfig: no
</span></span></div>
</div>
<div style="box-sizing:border-box">
<div style="box-sizing:border-box;display:flex;line-height:20px;color:rgb(225,228,232)"><a href="https://github.com/tobias-klein/sword-build-win32/runs/1145121405?check_suite_focus=true#step:6:5105" target="_blank">5105</a><span style="box-sizing:border-box;margin-left:16px;display:inline-block;overflow-x:auto;white-space:pre-wrap"><span style="box-sizing:border-box">-- ICU: no
</span></span></div>
</div>
<div style="box-sizing:border-box">
<div style="box-sizing:border-box;display:flex;line-height:20px;color:rgb(225,228,232)"><a href="https://github.com/tobias-klein/sword-build-win32/runs/1145121405?check_suite_focus=true#step:6:5106" target="_blank">5106</a><span style="box-sizing:border-box;margin-left:16px;display:inline-block;overflow-x:auto;white-space:pre-wrap"><span style="box-sizing:border-box">-- Regex.h: internal
</span></span></div>
</div>
<div style="box-sizing:border-box">
<div style="box-sizing:border-box;display:flex;line-height:20px;color:rgb(225,228,232)"><a href="https://github.com/tobias-klein/sword-build-win32/runs/1145121405?check_suite_focus=true#step:6:5107" target="_blank">5107</a><span style="box-sizing:border-box;margin-left:16px;display:inline-block;overflow-x:auto;white-space:pre-wrap"><span style="box-sizing:border-box">-- Building Shared library.
</span></span></div>
</div>
<div style="box-sizing:border-box">
<div style="box-sizing:border-box;display:flex;line-height:20px;color:rgb(225,228,232)"><a href="https://github.com/tobias-klein/sword-build-win32/runs/1145121405?check_suite_focus=true#step:6:5108" target="_blank">5108</a><span style="box-sizing:border-box;margin-left:16px;display:inline-block;overflow-x:auto;white-space:pre-wrap"><span style="box-sizing:border-box">-- Building Static library.
</span></span></div>
</div>
<div style="box-sizing:border-box">
<div style="box-sizing:border-box;display:flex;line-height:20px;color:rgb(225,228,232)"><a href="https://github.com/tobias-klein/sword-build-win32/runs/1145121405?check_suite_focus=true#step:6:5109" target="_blank">5109</a><span style="box-sizing:border-box;margin-left:16px;display:inline-block;overflow-x:auto;white-space:pre-wrap"><span style="box-sizing:border-box">-- Setting SOVERSION to 1.8.900
</span></span></div>
</div>
<div style="box-sizing:border-box">
<div style="box-sizing:border-box;display:flex;line-height:20px;color:rgb(225,228,232)"><a href="https://github.com/tobias-klein/sword-build-win32/runs/1145121405?check_suite_focus=true#step:6:5110" target="_blank">5110</a><span style="box-sizing:border-box;margin-left:16px;display:inline-block;overflow-x:auto;white-space:pre-wrap"><span style="box-sizing:border-box">-- Setting link libraries to D:/a/sword-build-win32/sword-build-win32/dist/lib/libbz2.lib;D:/a/sword-build-win32/sword-build-win32/dist/lib/liblzma.lib;D:\a\sword-build-win32\sword-build-win32\dist\lib\libcurl_imp.lib</span></span></div>
</div>
</div>
</div>
<div><br>
</div>
<div>It says that certain ICU
libraries were not found and then below under "CONFIGURING
SOURCE LIST" it says ICU: no.</div>
<div>I guess that could be the
explanation. Unfortunately I don't have access to the build
logs from May any longer ... maybe I can reproduce it
anyway, I will keep looking.</div>
<div><br>
</div>
<div>Best regards,<br>
Tobias</div>
<div><br>
</div>
<div>On 10/3/20 1:44 PM, Troy A.
Griffitts wrote:<br>
</div>
<blockquote type="cite">
Hi Tobias, generally SWORD defaults to always return UTF-8.
Depending on what you do with the string returned from your
function, in Windows you may or may not get nice results.
Also, to check, we do have multiple locales for German. The
de-utf8 locale is preferred if SWORD is compiled with a
StringMgr which understands Unicode. How are you compiling
SWORD on Windows? With ICU?<br>
<br>
<div class="gmail_quote">On October 3, 2020 10:55:32 AM
GMT+02:00, Tobias Klein <a href="mailto:contact@tklein.info" target="_blank"><contact@tklein.info></a>
wrote:
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Hi,</p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">In node-sword-interface I have a
method getSwordTranslation which does the following:</p>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<p class="MsoNormal" style="line-height:14.25pt;background:white none repeat scroll 0% 0%"><span style="font-size:10.5pt;font-family:Consolas;color:rgb(38,127,153)">std</span><span style="font-size:10.5pt;font-family:Consolas;color:black">::</span><span style="font-size:10.5pt;font-family:Consolas;color:rgb(38,127,153)">string</span><span style="font-size:10.5pt;font-family:Consolas;color:black"> </span><span style="font-size:10.5pt;font-family:Consolas;color:rgb(0,16,128)">translation</span><span style="font-size:10.5pt;font-family:Consolas;color:black"> = </span><span style="font-size:10.5pt;font-family:Consolas;color:rgb(38,127,153)">std</span><span style="font-size:10.5pt;font-family:Consolas;color:black">::</span><span style="font-size:10.5pt;font-family:Consolas;color:rgb(38,127,153)">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:rgb(0,16,128)">_localeMgr</span><span style="font-size:10.5pt;font-family:Consolas;color:black">-></span><span style="font-size:10.5pt;font-family:Consolas;color:rgb(121,94,38)">translate</span><span style="font-size:10.5pt;font-family:Consolas;color:black">(</span><span style="font-size:10.5pt;font-family:Consolas;color:rgb(0,16,128)">originalString</span><span style="font-size:10.5pt;font-family:Consolas;color:black">.</span><span style="font-size:10.5pt;font-family:Consolas;color:rgb(121,94,38)">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:rgb(0,16,128)">localeCode</span><span style="font-size:10.5pt;font-family:Consolas;color:black">.</span><span style="font-size:10.5pt;font-family:Consolas;color:rgb(121,94,38)">c_str</span><span style="font-size:10.5pt;font-family:Consolas;color:black">()));<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="line-height:14.25pt;background:white none repeat scroll 0% 0%"><span style="font-size:10.5pt;font-family:Consolas;color:rgb(175,0,219)">return</span><span style="font-size:10.5pt;font-family:Consolas;color:black"> </span><span style="font-size:10.5pt;font-family:Consolas;color:rgb(0,16,128)">translation</span><span style="font-size:10.5pt;font-family:Consolas;color:black">;<u></u><u></u></span></p>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></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"><u></u> <u></u></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"><u></u> <u></u></p>
<p class="MsoNormal">The expected result should be:
Matthäus</p>
<p class="MsoNormal"><u></u> <u></u></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"><u></u> <u></u></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"><u></u> <u></u></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"><u></u> <u></u></p>
<p class="MsoNormal">Best regards,<br>
Tobias</p>
</div>
</blockquote>
</div>
<br>
-- <br>
Sent from my Android device with K-9 Mail. Please excuse my
brevity. </blockquote>
<br>
<fieldset></fieldset>
<pre>_______________________________________________
sword-devel mailing list: <a href="mailto:sword-devel@crosswire.org" target="_blank">sword-devel@crosswire.org</a>
<a href="http://crosswire.org/mailman/listinfo/sword-devel" target="_blank">http://crosswire.org/mailman/listinfo/sword-devel</a>
Instructions to unsubscribe/change your settings at above page</pre>
</blockquote>
<br>
<fieldset></fieldset>
<pre>_______________________________________________
sword-devel mailing list: <a href="mailto:sword-devel@crosswire.org" target="_blank">sword-devel@crosswire.org</a>
<a href="http://crosswire.org/mailman/listinfo/sword-devel" target="_blank">http://crosswire.org/mailman/listinfo/sword-devel</a>
Instructions to unsubscribe/change your settings at above page</pre>
</blockquote>
<br>
<fieldset></fieldset>
<pre>_______________________________________________
sword-devel mailing list: <a href="mailto:sword-devel@crosswire.org" target="_blank">sword-devel@crosswire.org</a>
<a href="http://crosswire.org/mailman/listinfo/sword-devel" target="_blank">http://crosswire.org/mailman/listinfo/sword-devel</a>
Instructions to unsubscribe/change your settings at above page</pre>
</blockquote>
</div>
_______________________________________________<br>
sword-devel mailing list: <a href="mailto:sword-devel@crosswire.org" target="_blank">sword-devel@crosswire.org</a><br>
<a href="http://crosswire.org/mailman/listinfo/sword-devel" rel="noreferrer" target="_blank">http://crosswire.org/mailman/listinfo/sword-devel</a><br>
Instructions to unsubscribe/change your settings at above page</blockquote></div>