Skip to content

Conversation

nicolas-grekas
Copy link
Member

No description provided.

@@ -152,7 +152,7 @@ There is also a method to get the bytes stored at some position::
b('नमस्ते')->bytesAt(0); // [224]
u('नमस्ते')->bytesAt(0); // [224, 164, 168]

b('नमस्ते')->bytesAt(1); // [168]
b('नमस्ते')->bytesAt(1); // [164]
u('नमस्ते')->bytesAt(1); // [224, 164, 184, 224, 165, 141]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If I'm reading the image correctly, shouldn't this one be [224, 164, 174]?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

correct, fixed also

@javiereguiluz
Copy link
Member

Thank you Nicolas.

@javiereguiluz javiereguiluz merged commit 434804a into symfony:5.0 Apr 15, 2020
@nicolas-grekas nicolas-grekas deleted the string-fix branch May 10, 2025 17:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants