I'm Trying to decode bytes to utf-8 this is my script
import subprocess
meta_data = subprocess.check_output(['netsh', 'wlan', 'show', 'profiles'])
print(type(meta_data.decode("utf-8")))
Can Someone help me to fix that?
error: error UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 31: invalid start byte