In computer networking, "hostnames" are limited to alphanumeric characters, with dashes (no whitespace or other punctuation).
However, when I open the "Network" in Finder...
I can see some devices (usually macOS) show up with spaces, punctuation, and UTF-8 characters in the name:
Ultimately, I'm looking to have the Raspberry Pi on my network show up with a pretty name. However, in my searching on how to do this, I'm finding I'm not even clear on how macOS gets these pretty names to show up. Searching for this yields too many results of articles explaining to people how to change the hostname of their mac, which I don't need help with.
On my Raspberry Pi, I can run
hostnamectl and set the "pretty" name, but that doesn't seem to affect anything.
Anyone know how this is achieved?