Skip to content

Check for ASCII in from impl as well#77

Merged
seanmonstar merged 2 commits intoseanmonstar:masterfrom
samadDotDev:fix-str-ascii
Jan 9, 2025
Merged

Check for ASCII in from impl as well#77
seanmonstar merged 2 commits intoseanmonstar:masterfrom
samadDotDev:fix-str-ascii

Conversation

@samadDotDev
Copy link
Copy Markdown
Contributor

This addresses #76 which reports that there is an inconsistency between UniCase::new() and UniCase::from() for ASCII strings where the latter doesn't check for encoding. Also added a test and modified an existing one that should fail without this fix.

This addresses seanmonstar#76
which reports that there is an inconsistency between
`UniCase::new()` and `UniCase::from()`
for ASCII strings where the latter doesn't check for encoding.
Copy link
Copy Markdown
Owner

@seanmonstar seanmonstar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks so much!

@seanmonstar seanmonstar merged commit 1827c19 into seanmonstar:master Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants