<div dir="auto"><div dir="auto">Tobias,<div dir="auto"><br></div><div dir="auto">Has this been tested with file paths that contain characters outside of the basic ASCII code range? That's where current Sword fails. Not in fetching the data for the paths themselves, but the actual calls to fopen and friends, on Windows, do not understand non ASCII data.</div><div dir="auto"><br></div><div dir="auto">It looks like your code would suffer similar to other Sword code, which eventually passes through the library's fopen calls.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Jul 18, 2020, 08:24 Tobias Klein <<a href="mailto:contact@tklein.info" target="_blank" rel="noreferrer">contact@tklein.info</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="DE" link="blue" vlink="#954F72"><div><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" rel="noreferrer noreferrer" target="_blank">https://github.com/tobias-klein/node-sword-interface/blob/master/src/sword_backend/file_system_helper.hpp</a><u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><a href="https://github.com/tobias-klein/node-sword-interface/blob/master/src/sword_backend/file_system_helper.cpp" rel="noreferrer noreferrer" target="_blank">https://github.com/tobias-klein/node-sword-interface/blob/master/src/sword_backend/file_system_helper.cpp</a><u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">It works on Windows, macOS and Linux.</p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Best regards,<br>Tobias</p><p class="MsoNormal"><u></u> <u></u></p><div style="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" rel="noreferrer noreferrer" target="_blank">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" rel="noreferrer noreferrer" target="_blank">SWORD Developers' Collaboration Forum</a><br><b>Subject: </b>[sword-devel] Win32 FileMgr Subclass</p></div><p class="MsoNormal"><u></u> <u></u></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"><u></u> <u></u></p><p class="MsoNormal"><a href="http://crosswire.org/svn/swordreader/trunk/src/Dll1/winceSword/src/" rel="noreferrer noreferrer" target="_blank">http://crosswire.org/svn/swordreader/trunk/src/Dll1/winceSword/src/</a></p><p class="MsoNormal"><u></u> <u></u></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"><u></u> <u></u></p><p class="MsoNormal">Troy</p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">_______________________________________________</p><p class="MsoNormal">sword-devel mailing list: <a href="mailto:sword-devel@crosswire.org" rel="noreferrer noreferrer" target="_blank">sword-devel@crosswire.org</a></p><p class="MsoNormal"><a href="http://www.crosswire.org/mailman/listinfo/sword-devel" rel="noreferrer noreferrer" target="_blank">http://www.crosswire.org/mailman/listinfo/sword-devel</a></p><p class="MsoNormal">Instructions to unsubscribe/change your settings at above page</p><p class="MsoNormal"><u></u> <u></u></p></div></div>_______________________________________________<br>
sword-devel mailing list: <a href="mailto:sword-devel@crosswire.org" rel="noreferrer noreferrer" target="_blank">sword-devel@crosswire.org</a><br>
<a href="http://www.crosswire.org/mailman/listinfo/sword-devel" rel="noreferrer noreferrer noreferrer" target="_blank">http://www.crosswire.org/mailman/listinfo/sword-devel</a><br>
Instructions to unsubscribe/change your settings at above page</blockquote></div></div>