-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x83 in position 698: invalid start byte #4
Comments
you are working on windows machine since utf-8 is wrong encoding for that , utf-8 is default encoding for this if you write stdout.decode() instead replace it with stdout.decode("cp1252") it will work ;) |
Thanks @daman9999 |
tks so much |
Your idea helped fix my random issue. Thank you! |
Traceback (most recent call last):
File "C:\Users\Ashif\Desktop\red-python-scripts-main\windows10-wifi.py", line 43, in
profile_info = subprocess.run(["netsh", "wlan", "show", "profile", name], capture_output = True).stdout.decode()
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x83 in position 698: invalid start byte
The text was updated successfully, but these errors were encountered: