feross / SpoofMAC

:briefcase: Change your MAC address for debugging
https://feross.org/spoofmac/
3.01k stars 271 forks source link

UnicodeDecodeError: 'ascii' codec can't decode byte 0xb3 in position 13: ordinal not in range(128) #109

Open ltfdick1994 opened 2 years ago

ltfdick1994 commented 2 years ago

I changed it to utf-8 but still don't work. For ascii it shows "Ordinal Not In Range" How to get this error fixed? I am totally stuck here. Thanks for your attention!

h-enes-simsek commented 2 years ago

changed return result.decode('ascii') to return result.decode('utf-8') in interface.py and it works.

diegomustafamarino commented 2 years ago

changed return result.decode('ascii') to return result.decode('utf-8') in interface.py and it works.

No, it's not working on Windows 10. :/ I have the same problem.

diegomustafamarino commented 2 years ago

I changed it to utf-8 but still don't work. For ascii it shows "Ordinal Not In Range" How to get this error fixed? I am totally stuck here. Thanks for your attention!

Did you solve?

0w0-Yui commented 1 year ago

I changed it to utf-8 but still don't work. For ascii it shows "Ordinal Not In Range" How to get this error fixed? I am totally stuck here. Thanks for your attention!

Did you solve?

return result.decode('latin-1') works fine with me, win10 21h2