<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Chinese characters in device description of bluetooth sink been stripped"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=98160">98160</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Chinese characters in device description of bluetooth sink been stripped
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>PulseAudio
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>modules
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>pulseaudio-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>lovetide@qq.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>pulseaudio-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>lennart@poettering.net
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=127135" name="attach_127135" title="pacmd screenshot">attachment 127135</a> <a href="attachment.cgi?id=127135&action=edit" title="pacmd screenshot">[details]</a></span>
pacmd screenshot

I setup a bluetooth speaker using pulseaudio + pulseaudio-module-bluetooth +
bluez, and a physical bluetooth adapter on host computer, and I changed the
bluetooth device alias to "蓝牙音箱 Bluetooth Speaker [DELL Optiplex 3300]".

Then I connected to this bluetooth device on client computer, but I can't see
"蓝牙音箱" characters in pavucontrol or mate-volume-control or pacmd, like they are
been stripped out.

        device.description = " Bluetooth Speaker [DELL Optiplex 3300]"

It would be nice to support multibytes characters in
pulseaudio-module-bluetooth as the alsa module did:

        device.api = "alsa"
        device.description = "内部音频 模拟立体声"

See pacmd outputs on client computer:
$ pacmd
<span class="quote">>>> list-sinks</span >
  ...
  ...
  ...

  index: 1
    name: <bluez_sink.00_1A_7D_DA_71_0B>
    driver: <module-bluez5-device.c>
    flags: HARDWARE DECIBEL_VOLUME LATENCY
    state: IDLE
    suspend cause:
    priority: 9030
    volume: front-left: 30813 /  47% / -19.66 dB,   front-right: 30813 /  47% /
-19.66 dB
            balance 0.00
    base volume: 65536 / 100% / 0.00 dB
    volume steps: 65537
    muted: no
    current latency: 27.86 ms
    max request: 2 KiB
    max rewind: 0 KiB
    monitor source: 2
    sample spec: s16le 2ch 44100Hz
    channel map: front-left,front-right
                 立体声
    used by: 0
    linked by: 1
    fixed latency: 39.51 ms
    card: 2 <bluez_card.00_1A_7D_DA_71_0B>
    module: 30
    properties:
        bluetooth.protocol = "a2dp_sink"
        device.description = " Bluetooth Speaker [DELL Optiplex 3300]"
        device.string = "00:1A:7D:DA:71:0B"
        device.api = "bluez"
        device.class = "sound"
        device.bus = "bluetooth"
        bluez.path = "/org/bluez/hci0/dev_00_1A_7D_DA_71_0B"
        bluez.class = "0x0c0108"
        bluez.alias = "蓝牙音箱 Bluetooth Speaker [DELL Optiplex 3300]"
        device.icon_name = "audio-card-bluetooth"
    ports:
        unknown-output: 蓝牙输出  (priority 0, latency offset 0 usec, available:
yes)
            properties:
                   active port: <unknown-output></pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>