I want that to change is the peripheral name that is shown at iOS Bluetooth settings and in my app, so that user can identify the device.
What I do is:
All works fine if I use UTF8 encoding to get NSData, but have problems with tildes, written accents and cyrillic alphabet, because app supports multiple languages. Not sure if problem is with iOS device or peripheral.
My questions:
The name is encoded in UTF-8 which is in accordance with the specification. UTF-8 is a multibyte coding, so interpreting the byte values as separate characters can lead to unexpected results.