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

stringprep:tolower/1 Return error #9

Closed
vkatsuba opened this issue Jul 25, 2019 · 2 comments
Closed

stringprep:tolower/1 Return error #9

vkatsuba opened this issue Jul 25, 2019 · 2 comments

Comments

@vkatsuba
Copy link

vkatsuba commented Jul 25, 2019

Erlang: 20
stringprep: 1.0.14 ~ 1.0.16

Hi All,

I not sure if this behavior is wrong, but I get error when try put binary with special characters to stringprep:tolower/1

> stringprep:tolower(<<240,159,152,138>>).
> error

Can anyone confirm that - this is the correct behavior for a similar binary, and if yes - how can I get around this case?

Cheers!

@badlop
Copy link
Member

badlop commented Apr 29, 2021

Related:
processone/ejabberd#3587
6d143eb

@badlop badlop closed this as completed Apr 29, 2021
@vkatsuba
Copy link
Author

Fixed after two years - yey!

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

No branches or pull requests

2 participants