Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

string: Support proper unicode. Ignore zero-width spaces, joiners, etc. #84

Open
github-actions bot opened this issue May 28, 2022 · 0 comments
Open
Assignees
Labels
feature tracker Issue tracked by bot

Comments

@github-actions
Copy link

On 2022-05-28 @recmo wrote in 1ec2e50 “Recognize new tags”:

Support proper unicode. Ignore zero-width spaces, joiners, etc.
Recognize digits from other alphabets.

    /// # Errors
    ///
    /// * [`ParseError::InvalidDigit`] if the string contains a non-digit.
    /// * [`ParseError::InvalidRadix`] if the radix is larger than 64.
    /// * [`ParseError::BaseConvertError`] if [`Uint::from_base_be`] fails.
    // FEATURE: Support proper unicode. Ignore zero-width spaces, joiners, etc.
    // Recognize digits from other alphabets.
    pub fn from_str_radix(src: &str, radix: u64) -> Result<Self, ParseError> {
        if radix > 64 {
            return Err(ParseError::InvalidRadix(radix));
        }
        let mut err = None;

From src/string.rs:118

@github-actions github-actions bot added feature tracker Issue tracked by bot labels May 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature tracker Issue tracked by bot
Projects
None yet
Development

No branches or pull requests

1 participant