Use natural String comparison instead of UTF-8 ByteString comparison for sorting map keys in JsonFormat.
This only changes the sort order in an obscure edge case of map-keys which sort differently in Utf8 and Utf16, meaning a mix of certain characters that are "very high code point but still single char" and "utf16 surrogate pairs". PiperOrigin-RevId: 922768203
P
Protobuf Team Bot committed
ae1faeedfd57b2cdc4c26e7befe4d34138210494
Parent: 7800571
Committed by Copybara-Service <copybara-worker@google.com>
on 5/28/2026, 2:45:14 PM