<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;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
.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" link="blue" vlink="#954F72">Thanks Tobias,<br><br>Looking at your code, I suspect you might be running into the same issues that SWORD runs into with those similar functions in FileMgr. Different compilers seem to supply different compatibility for full Unicode supposed for standard C functions, for example, getenv. The string input seems often to be the problem. SWORD generally supports UTF-8 everywhere, but Windows seems to support a variety of character encodings for different method calls and often never UTF-8. So strings need to be converted to UTF-16 to call native Win32 methods which support broader Unicode, or else the standard libs provided with your compiler need to do something smart with C function calls. On Linux these smarts are usually set with a locale env variable causing the standard lib calls to change behavior accordingly.<br><br>Bottom line, I would test putting your modules on a path with Greek letters and maybe also a space in a folder name somewhere. And see if, when you provide that path with SWORD_PATH, that the engine can open your modules.<br><br>Troy<br><br><div class="gmail_quote">On July 18, 2020 3:23:48 PM GMT+02:00, Tobias Klein <contact@tklein.info> wrote:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="WordSection1"><p class="MsoNormal"><span lang="EN-US">Maybe not a full-fledged FileMgr class, but at least everything I need in Ezra Project at the moment:<br><br></span><a href="https://github.com/tobias-klein/node-sword-interface/blob/master/src/sword_backend/file_system_helper.hpp">https://github.com/tobias-klein/node-sword-interface/blob/master/src/sword_backend/file_system_helper.hpp</a><o:p></o:p></p><p class="MsoNormal"><o:p> </o:p></p><p class="MsoNormal"><a href="https://github.com/tobias-klein/node-sword-interface/blob/master/src/sword_backend/file_system_helper.cpp">https://github.com/tobias-klein/node-sword-interface/blob/master/src/sword_backend/file_system_helper.cpp</a><o:p></o:p></p><p class="MsoNormal"><o:p> </o:p></p><p class="MsoNormal">It works on Windows, macOS and Linux.</p><p class="MsoNormal"><o:p> </o:p></p><p class="MsoNormal">Best regards,<br>Tobias</p><p class="MsoNormal"><o:p> </o:p></p><div style="mso-element:para-border-div;border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm"><p class="MsoNormal" style="border:none;padding:0cm"><b>From: </b><a href="mailto:scribe@crosswire.org">Troy A. Griffitts</a><br><b>Sent: </b>Samstag, 18. Juli 2020 14:42<br><b>To: </b><a href="mailto:sword-devel@crosswire.org">SWORD Developers' Collaboration Forum</a><br><b>Subject: </b>[sword-devel] Win32 FileMgr Subclass</p></div><p class="MsoNormal"><o:p> </o:p></p><p class="MsoNormal">I know Greg has sent me a link to the patch you guys apply to get Xiphos </p><p class="MsoNormal">to run well on Win32, but I have searched through all my past emails </p><p class="MsoNormal">with every relevant term I can thing of, and still can't find it. I am </p><p class="MsoNormal">sorry, Could you possibly sent that again? I think you guys were using </p><p class="MsoNormal">glib routines. If possible, I'd like to include something in SWORD more </p><p class="MsoNormal">generic, possibly using native Win32 calls. I've done something similar </p><p class="MsoNormal">for a couple projects in the past and need to find all that code. The </p><p class="MsoNormal">only one I keep thinking of off the top of my head is swordreader's </p><p class="MsoNormal">wince layer, which I believe is similar to win32 methods, but might need </p><p class="MsoNormal">some adapting.</p><p class="MsoNormal"><o:p> </o:p></p><p class="MsoNormal">http://crosswire.org/svn/swordreader/trunk/src/Dll1/winceSword/src/</p><p class="MsoNormal"><o:p> </o:p></p><p class="MsoNormal">The Xiphos code would be very helpful, if not just for finding </p><p class="MsoNormal">everyplace you needed to make a modification. Thanks for any help </p><p class="MsoNormal">finding it,</p><p class="MsoNormal"><o:p> </o:p></p><p class="MsoNormal">Troy</p><p class="MsoNormal"><o:p> </o:p></p><p class="MsoNormal"><o:p> </o:p></p><p class="MsoNormal">_______________________________________________</p><p class="MsoNormal">sword-devel mailing list: sword-devel@crosswire.org</p><p class="MsoNormal">http://www.crosswire.org/mailman/listinfo/sword-devel</p><p class="MsoNormal">Instructions to unsubscribe/change your settings at above page</p><p class="MsoNormal"><o:p> </o:p></p></div></blockquote></div><br>-- <br>Sent from my Android device with K-9 Mail. Please excuse my brevity.</body></html>