ens-normalize-python icon indicating copy to clipboard operation
ens-normalize-python copied to clipboard

Feature Addition: Cure for `CONF_WHOLE`

Open Carbon225 opened this issue 1 year ago • 1 comments

CONF_WHOLE is not curable because of implementation details (we lose track of individual characters).

However, script names of conflicting characters are reported. It would be possible to remove all characters from one conflicting script.

Example:

# current:
ens_cure('0х0.eth')
# DisallowedSequence: Contains visually confusing characters from Cyrillic and Latin scripts

# proposed:
ens_cure('0х0.eth')
# 'х.eth'
# decision to drop the entire Latin script

Carbon225 avatar Jul 30 '23 18:07 Carbon225

@Carbon225 interesting idea, how do you propose the decision is made for which script to retain?

lightwalker-eth avatar Jul 31 '23 10:07 lightwalker-eth