Because I express my creativity through shitcode, I named my development hardware appropriately.

It's actially xn--og8h8z because /etc/hostname is allowed to contain only ASCII Latin characters, numbers, and dash, but converting emojis to Punycode using command idn ๐ŸŒˆ๐Ÿ’ฉ does the job.

I can log into my Raspberry using command ssh user@๐ŸŒˆ๐Ÿ’ฉ however Bash login shell still shows untranslated Punycode hostname instead of rainbow poop symbols, so the support is not yet fully there, and avahi-resolve-address shows hex codes of UTF-8 emojis.

I'm using Debian 13 btw.

you are viewing a single comment's thread
view the rest of the comments
[โ€“] 22 points 4 months ago (2 children)

because /etc/hostname is allowed to contain only ASCII Latin characters, numbers, and dash

If you really wanna go for cursed, the syscall to change hostname doesnt have this restriction, and I do have a working system with non-ascii characters in the hostname. It takes some fighting with systemd and NetworkManager, and stuff does sometimes break, but it can be done.

  • source
  • hideshow 4 child comments