ens-registrar-dapp icon indicating copy to clipboard operation
ens-registrar-dapp copied to clipboard

Allow more characters

Open JustinDrake opened this issue 8 years ago • 3 comments

I'd like to register names such as ben&jerry. Unfortunately I get an error. Would it be possible to add more characters such as &, +, $, etc? It may make sense to have emojis as well I❤ether.

screen shot 2017-05-10 at 13 50 01

JustinDrake avatar May 10 '17 12:05 JustinDrake

The only valid ASCII characters are [a-z0-9-], just like in DNS domains - so "ben&jerry" will never be allowed.

Unicode is supported, though, so once proper normalisation is implemented in the app, you will be able to use emojis etc.

Arachnid avatar May 10 '17 13:05 Arachnid

I don't understand how ben&jerry will never be allow if unicode is supported. These two statements seem contradictory.

JustinDrake avatar May 10 '17 14:05 JustinDrake

Unicode is supported, but some unicode codepoints are prohibited, including those ASCII codepoints (<128) that aren't [a-z0-9-]. For full details on what characters are allowed, see UTS 46.

Arachnid avatar May 10 '17 14:05 Arachnid