Home page logo
/

wireshark logo Wireshark mailing list archives

Re: Add-on Lua code for file system operations?
From: Guy Harris <guy () alum mit edu>
Date: Fri, 7 Feb 2014 18:19:07 -0800


On Feb 7, 2014, at 5:04 PM, Guy Harris <guy () alum mit edu> 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 <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe


  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]
AlienVault