wifi-password icon indicating copy to clipboard operation
wifi-password copied to clipboard

Windows codepage issues should be documented

Open AtomicVar opened this issue 6 years ago • 1 comments

The module cannot work on Windows if the Windows is running in some languages, e.g. Chinese.

The problem is that netsh outputs differently under different codepages. On Chinese Windows, the default codepage is 936. Only after I run chcp 65001 can I get the proper password. Without that, I get an error Error: Could not get password.

I think it should be documented in README or somewhere.

AtomicVar avatar Jan 01 '19 08:01 AtomicVar

https://stackoverflow.com/a/46620616/8384910

Richienb avatar Oct 10 '20 07:10 Richienb