Replies: 1 comment
-
Yeah, multibyte support would be the standard. Having non-multibyte strings with multibyte support has no disadvantages to my knowledge, so it's hard to argue against this accept for laziness in terms of implementation maybe, but this is a very weak argument. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Str::snake
still useucwords
which doesn't support multibyte strings.It's the last use of
ucwords
inStr
class. It was removed previously fromStr::studly
in #40468This seems to be an obvious bug for me, but PR to fix this (#51626) was closed with "No plans" reasoning.
So I want to raise a discussion, should
Str::snake
work correct with multibyte strings?Actual behavior:
Expected behavior:
Beta Was this translation helpful? Give feedback.
All reactions