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.

all 5 comments

sorted by: hot top controversial new old
[โ€“] 19 points 7 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 2 child comments
  • [โ€“] 13 points 7 months ago

    Thanks for sharing Rainbow Shit. Might do that sometime haha.

  • source
  • [โ€“] 7 points 7 months ago

    Cursed in a most delightful way. lol

  • source