rust-unic icon indicating copy to clipboard operation
rust-unic copied to clipboard

🥰 isn't recognised as an emoji.

Open gianzellweger opened this issue 1 year ago • 2 comments

Since I haven't found a more convenient way to test emojis in bulk, this is the only one I found so far. I see no reason for it not being an emoji.

Steps to reproduce

fn main() {
    assert!(unic_emoji_char::is_emoji('🥰'));
}

gianzellweger avatar Feb 21 '24 17:02 gianzellweger

That emoji was added in Unicode 11, this crate only supports Unicode 10. (Development of this crate has stopped, seemingly.)

FliegendeWurst avatar May 27 '25 08:05 FliegendeWurst

I'd suggest moving to the unicode-properties crate (which is currently used by rustc) as a replacement if you need newer version data.

Disclaimer: I created that crate and handed it over to unicode-rs :)

crlf0710 avatar May 27 '25 08:05 crlf0710