Skip to content

Str::apa will lowercase accented words #51427

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Closed
shujaaa opened this issue May 16, 2024 · 1 comment
Closed

Str::apa will lowercase accented words #51427

shujaaa opened this issue May 16, 2024 · 1 comment

Comments

@shujaaa
Copy link

shujaaa commented May 16, 2024

Laravel Version

11.4.0

PHP Version

8.2

Database Driver & Version

MySQL 8.0+

Description

When using Str::apa() for title case, any word with a first letter accented (for example (écriture)) will be outputted lowercase instead of title case.

Steps To Reproduce

Str::apa('les écritures bibliques');

-> expected 'Les Écritures Bibliques'
-> actual 'Les écritures Bibliques'

@driesvints
Copy link
Member

Thanks! Seems like a PR was sent in for this so let's see how it goes.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants