@mathias Do you have/know a good and small module to transliterate Unicode to ASCII?
-
-
Replying to @sindresorhus
lodash.deburr https://lodash.com/docs/4.17.5#deburr …
1 reply 0 retweets 5 likes -
Replying to @mathias
Thanks! Although I was hoping for something that supports a wider range of Unicode, even emoji, so `deburr('I like
')` would become `I like unicorn`.2 replies 0 retweets 3 likes -
Replying to @sindresorhus @mathias
For emoji, there are CLDR annotations: http://www.unicode.org/cldr/charts/27/annotations/romance.html … and CLDR short names: http://unicode.org/emoji/charts/emoji-list.html … So EG:
1f481 INFORMATION DESK PERSON
short name: person tipping hand
annotations: hand; information; help; sassy1 reply 0 retweets 2 likes -
there's a few packages on npm which have the description, at Algolia's engine we have a ruby script which generates a header file with the unicode<->description for everything from 0x1F300 to 0x1F9FF
1 reply 0 retweets 0 likes -
These packages contain the names too: https://github.com/mathiasbynens/node-unicode-data#using-the-data-in-your-scripts … I’m just worried that the Unicode names are not always what people might expect.
1 reply 0 retweets 1 like -
Replying to @mathias
How can I get the CLDR Short Name of an emoji from your Unicode package?
1 reply 0 retweets 0 likes -
Replying to @sindresorhus
CLDR short names are not included in the node-unicode-data output, only the code point names. PR? Or maybe a new, separate project? :)
1 reply 0 retweets 0 likes -
Replying to @mathias @sindresorhus
How would you deal with those composite/multi-character ZWJ ones like "family consisting of man, woman, child, dog" ? :P
1 reply 0 retweets 0 likes
Mathias Bynens Retweeted Mathias Bynens
I’m wondering the same thing (https://twitter.com/mathias/status/986887009288548352 …). There is no clear expected outcome for so many inputs
Mathias Bynens added,
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
JavaScript, HTML, CSS, HTTP, performance, security, Bash, Unicode, i18n, macOS.