Skip to content

Conversation

dconeybe
Copy link
Contributor

@dconeybe dconeybe commented Jul 8, 2025

This PR enhances the documentation for the compareUtf8Strings() method by adding a concrete example. This example illustrates the nuances of comparing Unicode strings, particularly how characters represented by surrogate pairs in UTF-16 can compare differently than the lexicographical comparison of their UTF-8 encoding.

This PR is in response to review comment firebase/firebase-android-sdk#7098 (review) and is a port of firebase/firebase-android-sdk#7113

@dconeybe dconeybe self-assigned this Jul 8, 2025
@dconeybe dconeybe requested review from a team as code owners July 8, 2025 01:07
@product-auto-label product-auto-label bot added size: s Pull request size is small. api: firestore Issues related to the googleapis/nodejs-firestore API. labels Jul 8, 2025
@dconeybe dconeybe requested a review from MarkDuckworth July 8, 2025 01:11
@dconeybe dconeybe added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jul 8, 2025
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jul 8, 2025
@dconeybe dconeybe merged commit bf61eaf into main Jul 9, 2025
29 of 31 checks passed
@dconeybe dconeybe deleted the dconeybe/firestore/Utf8StringCompareCommentExample branch July 9, 2025 14:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: firestore Issues related to the googleapis/nodejs-firestore API. size: s Pull request size is small.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants