Live data from Hacker News

Comparing how different devices display the SSID “á̶̛̛̓̿̈͐͆̐̇̒̑̈́͘͝aaa”

hamptonmoore.com

31–40 of 60 posts

Re: Comparing how different devices display the SSID “á̶̛̛̓̿̈͐͆̐̇̒̑̈́͘͝aaa”

#33
And out of curiosity, taking some from this:

https://github.com/minimaxir/big-list-of-naughty-strings/blo...

especially the Asian ones, seems to varying from mildly amusing to interesting effects, when you try to set them as SSID.

Re: Comparing how different devices display the SSID “á̶̛̛̓̿̈͐͆̐̇̒̑̈́͘͝aaa”

#34
post #16

Earlier quoted context omitted.

Sounds like a directory traversal to me :) It's generally a bad idea to have the user in control of filenames you create if those files are not on a device they own.

In this case, it sounds like the files were on a device owned by the user?

The user in control here is the one configuring the SSID, which is not necessarily the same one owning the device used to connect to it.

Re: Comparing how different devices display the SSID “á̶̛̛̓̿̈͐͆̐̇̒̑̈́͘͝aaa”

#35
I'd be curious to see how a car may display that.

I've paired my phone with a family members Volkswagen SUV and it could not display the SSID properly, an emoji.

Most laptops are capable of displaying emoji SSIDs (bluetooth and wifi).

Re: Comparing how different devices display the SSID “á̶̛̛̓̿̈͐͆̐̇̒̑̈́͘͝aaa”

#36
I tested this out of curiosity, and all iPhones I could find in my household rendered correctly in UTF-8 with only 12 octets [0]. This is replicated on iPhone 7, SE and XR, all running 13.5.1. So it may well be the issue was fixed in 6s or 7.

[0] https://i.imgur.com/KDau4PP.jpg

Re: Comparing how different devices display the SSID “á̶̛̛̓̿̈͐͆̐̇̒̑̈́͘͝aaa”

#37
post #10

Earlier quoted context omitted.

The bytestring was truncated after 32 bytes, in the middle of a UTF-8 byte sequence. This means the resulting truncated string is not valid UTF-8 anymore. So my guess is that most devices decide "if it's not valid UTF-8, it must $LEGACY_ENCODING".

Unicode offers two ways forward when you can't decode what you have, one alternative is an exception, you just fail because you weren't able to decode something. The other is for any code unit that won't decode you emit U+FFFD the Unicode Replacement Character and then you carry on decoding. For humans U+FFFD makes it obvious something is wrong, it's typically visualised as a black diamond with a white question mark.…

That is a reasonable approach if you know that what you are decoding is supposed to be UTF-8.

If you don't know the text encoding because there is no information to indicate it (or you don't trust that information to be correct) then you will have to guess and "decode as UTF-8 for valid UTF-8, use some legacy encoding otherwise" is a common approach (used e.g. by many text editors).

Re: Comparing how different devices display the SSID “á̶̛̛̓̿̈͐͆̐̇̒̑̈́͘͝aaa”

#39

Earlier quoted context omitted.

Same, I actually assumed that's what the string was supposed to be, now opening this in chrome I can see wildly different it looks

This[1] is how it looks to me on my Firefox, is that the Chrome version or the Firefox version on your side? [1] https://i.postimg.cc/nVPBqXjV/fireunicode.png

Oh weird, are you on windows? I'm on mac and I see all the diacritics squished down into a small pile in firefox

Re: Comparing how different devices display the SSID “á̶̛̛̓̿̈͐͆̐̇̒̑̈́͘͝aaa”

#40
post #6
post #3

The 802.11 standards have always allowed up to 32 bytes which can be filled with any data, it does not have to be in a particular encoding. In 802.11-2012 there is a separate tag SSIDEncoding which can be used to specify if these bytes are in UTF-8 or "unspecified". If the UTF-8 option is set, the SSID should be interpreted as UTF-8. It is not clear in this case if the router sets this flag or not. Either way there i…

Huh, I'm surprised emojis aren't more popular for SSIDs... can't wait until this knowledge spreads more and we'd have a vomit of color when we open the "Wireless Networks" menu. OTOH for most people the SSID is "Linksys 4FBD" or similar...

I work on some ecommerce sites. I've had to cancel orders because the order exports can't handle emoji in the fields. I can't wait until baby names have actual emoji in them. I bet some idiot has already tried it.
Post reply on HN