jeeswg wrote:- Maybe the Unicode version is returning the correct data. But that for whatever reason, some of the information stored is gibberish. Which will come out as either question marks in ANSI, or random characters in Unicode.
- The best thing to do would be to scroll to the bottom of both lists, or to the exact same point in both lists, where some valid names appear, and see if they correspond. (You could add in line numbers to make this easier.)
- If you have examples known to be at the same point in the list, where the ANSI version does *not* begin with question marks, we could compare it to Unicode version, by seeing if the ANSI characters converted to Unicode, match the Unicode version.
- Also, do the names for the currently available networks appear correctly?
Yes, I think your are right Ansi is ??? and Unicode is gibberish.
I think this is what your are asking for...Haymarket_Guest_Wifi is on the same line and the same on both.
Ansi
https://www.dropbox.com/s/bi3s1vj319t9q ... i.png?dl=0
Unicode
https://www.dropbox.com/s/4a3n8a2advy62 ... e.png?dl=0
You asked "Also, do the names for the currently available networks appear correctly?"
What method would I retrieve the currently available networks? Netsh wlan export profile ?
I can export the wireless connections via netsh to a text file, then read the text file and display in a message box.
I will do this and see how it displays.
thanks
Robert