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

Fixed avatar multibyte character issue #973

Merged
merged 2 commits into from
Feb 2, 2022
Merged

Conversation

mgsmus
Copy link
Contributor

@mgsmus mgsmus commented Feb 2, 2022

Getting the first letter of a string by treating the string as an array corrupts multibyte characters; "İsmail"[0] returns � instead of İ, this causes question marks in the avatar. Changed it to mb_substr.

Getting the first letter of a string by treating the string as an array corrupts multibyte characters; "İsmail"[0] returns � instead of İ. Changed it to mb_substr.
Fixed avatar multibyte character issue
@taylorotwell taylorotwell merged commit 082a0fa into laravel:2.x Feb 2, 2022
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.

2 participants