Unexpected `STRINGPREP_CONTAINS_UNASSIGNED` error
See original GitHub issueAs reported in https://github.com/Uniswap/interface/issues/2876, users with emojis in their ENS names are experiencing crashes due to a STRINGPREP_CONTAINS_UNASSIGNED
error being thrown in #namehash
. While this is solvable for us, perhaps it points to some underlying issue in ethers, hence the issue.
The following code errors, as tested here: https://github.com/Uniswap/interface/pull/2925/files#diff-5505dde3421656b51959add7972d69203d6faa0dfc3f05a7835c455799f2fac6R9.
import { namehash } from '@ethersproject/hash'
namehash('🤔')
Issue Analytics
- State:
- Created 2 years ago
- Reactions:7
- Comments:14 (8 by maintainers)
Top Results From Across the Web
R "Error: unexpected '}' in "}" [duplicate] - Stack Overflow
I'm trying to write a loop to get rid of these (Null Value) entries and I keep getting an error "Error: unexpected '}'...
Read more >main.cs(20,2): error CS1525: Unexpected symbol 'string'
It says this: main.cs(20,2): error CS1525: Unexpected symbol 'string' ... code is NEAR but not AT the location the IDE flags as the...
Read more >(NEW FIX) Roblox Error Code 268 "Kicked Due to Unexpected ...
(NEW FIX) Roblox Error Code 268 "Kicked Due to Unexpected Client Behavior"Apply these 2 best 100% Working solutions to fix Error code 268...
Read more >Fix Roblox Error Code - 268 | You Have Been Kicked Due To ...
How to Fix Roblox Error Code - 268 | You Have Been Kicked Due To Unexpected Client Behavior in Windows 2022Fix Roblox (...
Read more >Solved: Error:Unexpected character '' (code 65279 / 0xfef...
Solved: Hi All, I'm using Windows C# client as below version: Somehow I got random / intermittent error popped up: Error:Unexpected ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hey! What is the recommended workaround for this?
ENS has always used unicode, but the app was mistakenly using the wrong function to normalise names for a short while.