booyaa/wifiscanner

(on windows: ) only working on a system using english as language

schlefix opened this issue · 1 comments

Hi there! Hope you are all well!
I stumbled over a very stupid problem/bug... for Windows (in my case win 10) this crate doesn't work but i want to fix it with your permission ;)

Trying to create something platform independent is hard. Fighting with the stupidity of windows is worst ;)
One of my test-setups is win10 and set to German language... and your crate cannot find ANY wifi. I Found the problem by comparing the output of netsh and the searched keywords in your crate and... TADA: win10 is shipped with a german version of netsh?!

I am refactoring your regex and creating a pull request

sincerely

Felix

@schlefix I'm going to add this to Hacktoberfest. Ideally, but not required for the first iteration this should be a generic solution that means contributors can add language support without diving into code. So this would involve the use of an internationalisation crate.