[Winpcap-bugs] Filenames with characters that are not ISO-8859-1
Gianluca.Varenni at riverbed.com
Tue Jan 18 15:38:52 PST 2011
First of all, sorry for the late answer.
Adding support for UNICODE file names is not exactly trivial. I haven’t looked too much into the source code, but I’m pretty sure that new functions accepting UNICODE file names would be needed, and for the sake of portability, those functions would need to be back-ported to libpcap (so linux/bsd/…).
Have you tried looking at the WinPcap source code (wpcap.dll, in particular) to understand how difficult it would be?
Have a nice day
From: winpcap-bugs-bounces at winpcap.org [mailto:winpcap-bugs-bounces at winpcap.org] On Behalf Of Boaz Brickner
Sent: Friday, January 07, 2011 4:21 AM
To: winpcap-bugs at winpcap.org
Subject: [Winpcap-bugs] Filenames with characters that are not ISO-8859-1
I'm trying to add Unicode filenames support to Pcap.Net (http://pcapdot.net) and it seems that filenames that are not ISO-8859-1 are not supported.
For example, I try to get all of the file devices in a folder using pcap_findalldevs_ex() function.
In this folder, I have the same pcap file copies multiple times with different filenames.
If the file has only characters that are ISO-8859-1 (or ASCII) it appears in the output of the function.
If the file has other characters, it doesn't appear in the output of the function.
Is there something else I can do to handle non ISO-8859-1 pcap filenames using WinPcap functions?
Can you fix it so it will be possible to use every Unicode filename in WinPcap?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Winpcap-bugs