<div dir="ltr">Part of that discussion last year was that the library now handles this properly internally. There are mechanisms for handling UTF-16 Windows APIs and so forth. You should be able to use them rather than needing to roll your own.<div><br></div><div>--Greg</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jan 27, 2021 at 2:23 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>Hi all,</p>
<p>I just recently faced some <a href="https://github.com/ezra-project/node-sword-interface/issues/9" target="_blank">issues
related to Unicode paths on Windows</a> and remembered the
(brief) discussion on this list last summer.<br>
<br>
I then learned about what's needed to handle Unicode paths
properly on Windows (working with all those w-prefixed methods and
having to convert all strings to UTF16 before calling those
methods).</p>
<p>If anyone of you ever runs in the same issues (I suppose many of
you already did ...), this blogpost has been very helpful to me:</p>
<p><i>Using UTF-8 as the internal representation for strings in C
and C++ with Visual Studio</i><br>
<a href="http://www.nubaria.com/en/blog/?p=289" target="_blank">http://www.nubaria.com/en/blog/?p=289</a></p>
<p>Blessings, I hope you're all doing fine!</p>
<p>Best regards,<br>
Tobias<br>
</p>
</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>