On Feb 7, 2014, at 5:04 PM, Guy Harris <[email protected]> wrote:

> The latter may handle non-ASCII pathnames better on Windows - a quick look at 
> the LuaFileSystem seems not to indicate that it does any UTF-8-to-UTF-16 
> mapping, it just calls _mkdir(), but we map UTF-8 to UTF-16 and call 
> _wmkdir().  It also matches what we do in C/C++ code in Wireshark.

I'm not sure whether Lua's standard I/O library handles non-ASCII pathnames 
well on Windows, either.  (On Windows, "interprets them in the current code 
page" doesn't match what Wireshark does with non-ASCII pathnames unless you're 
using code page 65001.)
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <[email protected]>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:[email protected]?subject=unsubscribe

Reply via email to