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

Problem with with Str limit function #1

Closed
octarino opened this issue Jan 5, 2020 · 1 comment
Closed

Problem with with Str limit function #1

octarino opened this issue Jan 5, 2020 · 1 comment

Comments

@octarino
Copy link
Contributor

octarino commented Jan 5, 2020

echo Str::limit('ññññññ', 3);

This returns

ñ�

echo Str::limit('ññññññ', 2);

ñ

echo Str::limit('ññññññ', 1);

Check this for reference

https://github.com/illuminate/support/blob/14b167f5669286cb2d410a4a28eb68858df4852c/Str.php#L281

@Usbac
Copy link
Owner

Usbac commented Jan 5, 2020

Thank you so much for pointing out that @octarino, It has been fixed 345a225 :)
Greetings.

@Usbac Usbac closed this as completed Jan 5, 2020
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