<div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Jul 19, 2020 at 2:40 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 lang="DE"><div class="gmail-m_-1905291689939194240WordSection1"><p class="MsoNormal"><span lang="EN-US">Thanks for giving me the background on this, Karl! I appreciate it!<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">Is Xiphos the only frontend that has been patching Sword for this purpose? Then I suppose all other frontends suffer from this issue, huh?<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">Thanks for putting in the work to make Sword behave well with non-ascii path names!<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US">Best regards,<br>Tobias<u></u><u></u></span></p><p class="MsoNormal"><u></u> <u></u></p><div style="border-color:rgb(225,225,225) currentcolor currentcolor;border-style:solid none none;border-width:1pt medium medium;padding:3pt 0cm 0cm"><p class="MsoNormal" style="border:medium none;padding:0cm"><b>From: </b><a href="mailto:karl@kleinpaste.org" target="_blank">Karl Kleinpaste</a><br><b>Sent: </b>Sonntag, 19. Juli 2020 15:23<br><b>To: </b><a href="mailto:sword-devel@crosswire.org" target="_blank">SWORD Developers' Collaboration Forum</a><br><b>Subject: </b>Re: [sword-devel] Win32 FileMgr Subclass</p></div><p class="MsoNormal"><u></u> <u></u></p><div><p class="MsoNormal">On 7/18/20 1:53 PM, Tobias Klein wrote:<u></u><u></u></p></div><blockquote style="margin-top:5pt;margin-bottom:5pt"><p class="MsoNormal"><span lang="EN-US">No, I have not tested my code properly with non-ascii characters in paths / file names.</span></p></blockquote><p class="MsoNormal"><br><span style="font-family:"FreeSerif",serif">The original cause for the Xiphos patch to Sword was because, 11 years ago when we introduced the Win32 port, as GnomeSword was renamed Xiphos, one of our first new Windows users was a fellow in Spain who wanted to review it. His name was Reuvén, and that was his login name on his Windows machine.</span> So of course the path C:\Users\Reuvén was involved, and that 'é' is what killed us.<br><br>What dies here is Sword itself. Xiphos was fine, being already based on glib, but Sword's collapse came as soon as Xiphos made its first filesystem call. The patch glib-ifies Sword, where glib works rather hard at hiding the UTF16 boundary from the application.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p></div></div>_______________________________________________<br>
sword-devel mailing list: <a href="mailto:sword-devel@crosswire.org" target="_blank">sword-devel@crosswire.org</a><br>
<a href="http://www.crosswire.org/mailman/listinfo/sword-devel" rel="noreferrer" target="_blank">http://www.crosswire.org/mailman/listinfo/sword-devel</a><br>
Instructions to unsubscribe/change your settings at above page</blockquote></div>