<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Can device name support multi-language</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/7029/can-device-name-support-multi-language</link><description>Hi, 
 We have a device needs to support user change the device name. We already finished this function. The changed device name can be store in internal flash, and broadcast from next advertising.
My question is: whether the device name can support</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 14 Nov 2017 11:48:15 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/7029/can-device-name-support-multi-language" /><item><title>RE: Can device name support multi-language</title><link>https://devzone.nordicsemi.com/thread/24823?ContentTypeID=1</link><pubDate>Tue, 14 Nov 2017 11:48:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:749be843-556c-44bf-987e-269f24e689b8</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;&amp;#39;sniffing with the nordic sniffer&amp;#39;. That doesn&amp;#39;t really mean anything, it just sniffs bytes and passes them to probably wireshark for display. Wireshark (in my experience) just shows bytes and if each individual byte represents an ASCII character, it shows that. Wireshark doesn&amp;#39;t try to interpret sequences of bytes as UTF-8 or anything else. This is no different from encoding a 32bit integer, wireshark just shows 4 bytes of data and if it shows characters at all, it just shows the ASCII version of each byte.&lt;/p&gt;
&lt;p&gt;You need to stop conflating a sequence of bytes with how a particular app might interpret them. The nordic sniffer is a byte-based raw sniffer, it&amp;#39;s not going to have a clue that the bytes represent unicode.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can device name support multi-language</title><link>https://devzone.nordicsemi.com/thread/24822?ContentTypeID=1</link><pubDate>Tue, 14 Nov 2017 11:38:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1ead06b9-21db-44bd-84cc-26f01226c636</guid><dc:creator>jemajuca</dc:creator><description>&lt;p&gt;Hello.
We are using a medium dot &amp;quot;·&amp;quot; on the device name.
All tests on different phones shows the name correctly, and it is well accepted.
When sniffing with the nordic sniffer, it shows two characters instead of one medium dot.
I think it is because the code page used, but just for confirmation:
It is safe to use &amp;quot;special&amp;quot; characters on the device name like &amp;quot;·&amp;quot; &amp;quot;:&amp;quot; &amp;quot;|&amp;quot; ?
Thank you&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can device name support multi-language</title><link>https://devzone.nordicsemi.com/thread/24821?ContentTypeID=1</link><pubDate>Wed, 03 Jun 2015 04:41:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3f621e4a-5a8f-4e35-a0e8-2672e3f737ba</guid><dc:creator>Calvin</dc:creator><description>&lt;p&gt;RK, sorry for late reply. You are right, we modified our App to encode and decode with UTF-8. We don&amp;#39;t need to modify FW code too mch.&lt;/p&gt;
&lt;p&gt;Thank you. I close this issue.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can device name support multi-language</title><link>https://devzone.nordicsemi.com/thread/24820?ContentTypeID=1</link><pubDate>Thu, 14 May 2015 13:00:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:42f9d01b-7bd4-4895-9c48-1e54a5bd17c7</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;yes if you&amp;#39;re sending it a UTF8 string and then setting that string as the name it should just work. UTF8 is just a sequence of bytes.  So either you&amp;#39;re not sending UTF8 or the androd device displaying the name isn&amp;#39;t displaying UTF8.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can device name support multi-language</title><link>https://devzone.nordicsemi.com/thread/24819?ContentTypeID=1</link><pubDate>Thu, 14 May 2015 12:25:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:86d8b40a-e95d-49e4-9163-0dbcd1019446</guid><dc:creator>Calvin</dc:creator><description>&lt;p&gt;RK, thanks for your comment.
Then can I directly use the &amp;quot;sd_ble_gap_device_name_set()&amp;quot; function to change the device name as that UTF8 string which was set from App? And next advertising, can I see the correct device name (Chinese or Japanese...) from the Bluetooth setting on Android device?&lt;/p&gt;
&lt;p&gt;I tried this , but not success. Should I need to modify somewhere to make it work?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can device name support multi-language</title><link>https://devzone.nordicsemi.com/thread/24818?ContentTypeID=1</link><pubDate>Wed, 13 May 2015 07:20:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:52e2f7a4-a16a-4c25-a402-c3ab5e864757</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;Well start by looking UTF8 up with google. Secondly you probably don&amp;#39;t have to do anything, UTF8 is the most common encoding for strings - I see you&amp;#39;ve asked about iOS before, that&amp;#39;s what iOS uses, that&amp;#39;s what OSX uses, that&amp;#39;s what Windows uses. So the string you get is most likely UTF8 anyway so you store it just like before and send it back just like before. There is nothing to do.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can device name support multi-language</title><link>https://devzone.nordicsemi.com/thread/24817?ContentTypeID=1</link><pubDate>Wed, 13 May 2015 07:14:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:45773ded-f33e-451b-b6d4-219b25f3ee51</guid><dc:creator>Calvin</dc:creator><description>&lt;p&gt;Thanks for your prompt response. But sorry, I have no idea to realize it.
How do I modify my FW to store UTF-8 string in nrf51822?
And what should be dealt with on App?&lt;/p&gt;
&lt;p&gt;Please share more details.
Thank you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can device name support multi-language</title><link>https://devzone.nordicsemi.com/thread/24816?ContentTypeID=1</link><pubDate>Wed, 13 May 2015 06:34:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6e1f99f9-99af-4e69-aec5-90f3c47eaddf</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;From the Bluetooth spec&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;12.1 DEVICE NAME CHARACTERISTIC
The Device Name characteristic shall contain the name of the device as an UTF-8 string ...
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Since UTF8 encodes every unicode codepoint then you can have any and every language you like.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>