• cwagner@lemmy.cwagner.me
    link
    fedilink
    arrow-up
    6
    ·
    edit-2
    11 months ago

    Not that easy, imo. I’m pretty sure there are countries, especially with non-latin alphabets, who regularly use IDNs.

    edit: Including Germany, where FF on Desktop is still a mainstream browser at around 20% (and I’d bet FF gets regularly undercounted because FF users are more likely to block trackers).

    • rayon@lemm.ee
      link
      fedilink
      arrow-up
      2
      ·
      11 months ago

      That’s true. Also I guess domain names in most ideogram-based languages cannot be meaningfully converted to ASCII. The best detection method I’m aware of is detecting a mix of different alphabets in the domain, but I imagine even this has a lot of false positives

    • BurningnnTree@lemmy.one
      link
      fedilink
      English
      arrow-up
      2
      ·
      11 months ago

      They could add some kind of warning message that notifies you when the URL has unicode in it. Then the user can decide if they want to disable the warning or not.