Bug in Rust char function `is_alphabetic`?
⚓ Rust 📅 2026-07-06 👤 surdeus 👁️ 2Hello,
I am currently working on primitive_types2 in the Rustlangs course, and when I tried to set an emoji as my character, the output reports that the emoji '
' is "Alphabetical!" as well as "Neither alphabetic nor numeric!" - I do not think this is correct.
Also, the is_alphabetic function description states that emojis are not alphabetic, as shown here -
So I am curious: is this a bug in Rust, or am I doing something incorrect?
2 posts - 2 participants
🏷️ Rust_feed

