- Notifications
You must be signed in to change notification settings - Fork5
Closed
Description
unicode-security'sRestrictionLevelDetection seems to detect an ASCII "a" asSingleScript rather thanASCIIOnly.
It also seems to detect a Cyrillic "а" asAsciiOnly rather thanSingleScript.
Specifically, this program:
use unicode_security::restriction_level::RestrictionLevelDetection;fnmain(){for stringin&["\u{61}","\u{430}",]{println!("{} ({}): {:?}", string.escape_unicode(), string.escape_debug(), string.detect_restriction_level(),);}}
Prints this:
\u{61} (a): SingleScript\u{430} (а): ASCIIOnlyMetadata
Metadata
Assignees
Labels
No labels