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

UTF-8 encoding issue #53

Open
dragspas opened this issue Jun 9, 2021 · 0 comments
Open

UTF-8 encoding issue #53

dragspas opened this issue Jun 9, 2021 · 0 comments

Comments

@dragspas
Copy link

dragspas commented Jun 9, 2021

If you paste name like this 'Ren\xE9e Osborne', parse() will accept this input, but it will trigger an Error:
Error: Return value of TheIconic\NameParser\Part\AbstractPart::camelcase() must be of the type string, null returned

To prevent this I'm using ...->parse(utf8_encode($nameString));, but you should probably cover this issue in your repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant