Bug 104282

Summary: Cannot handle umlauts in Bluetooth device name
Product: PulseAudio Reporter: Kai Uwe Broulik <kde>
Component: modulesAssignee: pulseaudio-bugs
Status: RESOLVED FIXED QA Contact: pulseaudio-bugs
Severity: minor    
Priority: medium CC: lennart
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Kai Uwe Broulik 2017-12-15 18:28:55 UTC
My headphones are called "Kopfhörer" (German for headphones ;) and are listed as such in Bluetooth configuration:

$ hcitool name <address>
Kopfhörer

However, in PulseAudio they show up as "Kopfh rer" (with a space instead of the umlaut):

$pacmd list-sinks

  * index: 3
[...]
        driver: <module-bluez5-device.c>
        flags: HARDWARE DECIBEL_VOLUME LATENCY 
        state: RUNNING
[...]
        module: 30
        properties:
                bluetooth.protocol = "a2dp_sink"
                device.description = "Kopfh rer"
[...]
                device.api = "bluez"
                device.class = "sound"
                device.bus = "bluetooth"
                device.form_factor = "headphone"
[...]
                bluez.class = "0x240418"
                bluez.alias = "Kopfhörer"

Note how the "bluez.alias" is correct. This likely also affects other non-ascii characters.

$ pulseaudio --version
pulseaudio 8.0
Comment 1 Tanu Kaskinen 2017-12-15 19:05:57 UTC
This has been fixed in PulseAudio 11.0.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.