> I was going to comment that you should use %q instead of '%s' I do, of course. The funny apostrophe was MacOS's idea.
> Does Bluetooth specify UTF-8 as the string encoding sent over > the network? No, just that the device name is encoded as UTF-8 (up to 248 octets).