Non-ASCII names in bluetooth devices
Hello!
You've got a but in your bluez-test-device script (not sure whether that's retropie specific, raspberry or bluez) around line 57, where you print the bluetooth device alias. If the name of the device is not properly encoded python crashes with an exception "ascii codec can't decode ..."
Maybe thast should be hardened a bit more, even the chars are not properly parsed, at least it wouldn't throw an exception.
Thanks for the great work!
I prefer issues to be raised first on the forum as mentioned when opening an issue here.
bluez-test-device is part of bluez - and so I guess the bug is upstream - It probably lacks lacks support for utf-8 device names.
You can manually pair a device like this via bluetoothctl I should think.
I just solved this in #1852 without knowing about this being an upstream bug... Will try and follow up to the bluez team when I have some time.
Thanks. Technically we are using some bluez test tools, but hopefully they would appreciate the fix too.