Re: [sword-devel] SWORD 1.9.0RC3 Available

2020-10-03 Thread Greg Hellings
Sword doesn't really support building on Windows other than with the Borland C++ files that Troy maintains. CMake can easily be used to cross-compile from Linux. If you would like to provide fixes to it so that it also builds directly from Windows with CMake, you're welcome to send those to the li

Re: [sword-devel] SWORD 1.9.0RC3 Available

2020-10-03 Thread Greg Hellings
On Fri, Oct 2, 2020 at 2:57 PM Karl Kleinpaste wrote: > On 10/2/20 9:42 AM, Troy A. Griffitts wrote: > > Please give it a try and let me know if you have any issues > > No issue building, and building Xiphos with it. > > But important question: Does this release take care of the UTF-16 problem? >

Re: [sword-devel] Issues with German Umlaut characters in SWORD trunk?

2020-10-03 Thread Tobias Klein
When building SWORD based on SVN Rev. 3747 (May 18th) I get the following CMake output and with this SWORD version ICU _is still found correctly_. For both builds (ICU found vs. not found) I've been using the same ICU sources (Version 65, tag /release-65-1/, https://github.com/unicode-org/icu

Re: [sword-devel] Issues with German Umlaut characters in SWORD trunk?

2020-10-03 Thread Tobias Klein
Yes, I'm building SWORD with ICU. The build procedure has not changed recently. This is the batch script that builds SWORD on Windows: https://github.com/tobias-klein/sword-build-win32/blob/master/build_sword.bat However, I just found some interesting warnings in the build output from the mos

Re: [sword-devel] Issues with German Umlaut characters in SWORD trunk?

2020-10-03 Thread Troy A. Griffitts
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 St

Re: [sword-devel] SWORD 1.9.0RC3 Available

2020-10-03 Thread ZdPo Ster
cmake 3.18.2 (on windows) reports: CMake Warning (dev) at cmake/options.cmake:21 (set): Syntax error in cmake code at F:/Project-Personal/clang_shared/sword-1.9.0RC3/cmake/options.cmake:21 when parsing string Directory into which to install architecture-dependent files. Defaults to

[sword-devel] Issues with German Umlaut characters in SWORD trunk?

2020-10-03 Thread Tobias Klein
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 Wind