Change encode_utf{8,16}() to write to a buffer and panic if it's too small #36377
+163
−188
We went looking everywhere, but couldn’t find those commits.
Sometimes commits can disappear after a force-push. Head back to the latest changes here.