This code panics: ```go slug.Make("𐀀") ``` This is due to the internal use of `rainycape/unidecode`, which can not handle Unicode character U+10000, see https://github.com/rainycape/unidecode/issues/8. Given the inactivity of the upstream package, it might be worth filtering out the character in question before passing it to `unidecode`.
Activity
Fix panic for Unicode U+10000
Fix panic for Unicode U+10000
Change to gosimple/unidecode fork
Change to gosimple/unidecode fork (#56)
matrixik commentedon Jul 26, 2021
Thank you for this report and sorry it took so long, burnout is not nice...
I forked https://github.com/rainycape/unidecode to https://github.com/gosimple/unidecode and fixed this issue.
tja commentedon Jul 26, 2021
Thanks a bunch for the fix.. I really appreciate it.
Sorry to hear about your burnout — I hope you're doing better now!
matrixik commentedon Jul 26, 2021
I'm definitely better now, thank you.