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

Recase.to_name/1 does not handle characters with accents correctly #175

Closed
neel-tanda opened this issue May 27, 2024 · 0 comments · Fixed by #176
Closed

Recase.to_name/1 does not handle characters with accents correctly #175

neel-tanda opened this issue May 27, 2024 · 0 comments · Fixed by #176

Comments

@neel-tanda
Copy link
Contributor

When using NameCase we're seeing that characters following characters with accents (like í or á) are capitalized, when they should not be.

iex(1)> Recase.to_name("Colín Díaz")
"ColíN DíAz"
iex(2)> Recase.to_name("Colin Diaz")
"Colin Diaz"

I would expect Recase.to_name("Colín Díaz") == "Colín Díaz".

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 a pull request may close this issue.

1 participant