-
• #2
Why not use TextEncoder Web API there?
-
• #3
PRs welcome... God knows why you'd want to change the name of your Puck to be a square though ;)
If you pre-escaped it you could do
NRF.setAdvertising({}, {name: "\xF0\x9F\x8D\x9F"});
I guess? Not sure if that's the correct series of bytes for it though. -
• #4
NRF.setAdvertising({}, {name: "\xF0\x9F\x8D\x9F"});
works great! Thanks
I can see French Fries now ;)
I've tried but failed ;(
And here's what I get in my DevTools:
It would be nice to have at least an error in the IDE.