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

Use mb_substr for multibyte support #1

Merged
merged 1 commit into from Apr 10, 2019

Conversation

eiriksm
Copy link
Contributor

@eiriksm eiriksm commented Apr 10, 2019

Hello!

Thanks for this library.

Just noticed that I can not use it with strings that contain multibyte characters. So here is a PR using mb_substr instead of substr, fixing it. Also contains a test that fails without the fix.

@coveralls
Copy link

Coverage Status

Coverage decreased (-95.0%) to 0.0% when pulling a8e3ce0 on eiriksm:feat/multibyte-support into 94fa30d on axelero:master.

@maurodalatri maurodalatri merged commit eccfae3 into axelero:master Apr 10, 2019
@eiriksm eiriksm deleted the feat/multibyte-support branch April 10, 2019 19:24
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.

None yet

3 participants