Open jhxyz opened 2 years ago
@brendandebeasi note from https://twitter.com/adraffy/status/1473128565453385732?s=21
This is related to the underlying ethers.js library we use to resolve ENS names. https://github.com/ethers-io/ethers.js/issues/42
The maintainer has stated that they may not want to support the full UTF-8 character set due to the possibility of homoglyph attacks. That said, ENS themselves support the full UTF-8 character set, so I would think it makes sense for ethers.js to support this as well.
Pending Ethers.js update ethers-io/ethers.js#42
This user has a Chinese prefix in his eth.xyz profile name
https://twitter.com/sangenghumeng1/status/1478066023345451008?s=20
https://twitter.com/lookinforgangas/status/1502658571829497856 The Guy @lookinforgangas Replying to @xyz @ensdomains What about emoji domains? 😆😅😂.eth for example?
Example names affected, for tracking:
https://twitter.com/PenBercifield/status/1472715290261823493?s=20 ✨ben✨.eth
https://twitter.com/akcz26/status/1473069044672589825?s=20 lion♥️.eth.xyz
https://twitter.com/ENSemoji/status/1473090950972985344?s=20
https://twitter.com/YeA28219624/status/1473098096775155714?s=20 🤡🤡🤡.eth
https://twitter.com/0xDigitalOil/status/1473086827326324743?s=20 digital🛢.eth.xyz
DM from https://twitter.com/ch_cheng_?s=21 ∞∞∞.eth.xyz via
https://twitter.com/eoserscrypto/status/1473095358020743168?s=21 ○○.eth.xyz
https://twitter.com/metacomcn/status/1473362939872952320?s=20 中国重庆市.eth
https://twitter.com/sangenghumeng1/status/1478066023345451008?s=20
Via email: México.eth
Via #64 : gm🙂.eth
Emoji, unicode, non-ASCII .eth names result in a 404 page.
ENS is still in discussion on this subject. The outcome of that discussion will inform technical updates to Ethers.js, which is what would power emoji and other special character support on Eth.xyz.
https://github.com/ethers-io/ethers.js/issues/42#issuecomment-1124691542 https://discuss.ens.domains/t/ens-name-normalization/8652/19