[13.9] Fix 500 errors in Wiki pages with trailers containing UTF-8
This ports !3160 (merged) to 13-9-stable
.
When Wiki pages have trailers such as Signed-Off-By
that include UTF-8
characters, users would see encoding errors because Protobuf requires
calling the .b
method on a UTF-8 encoded string
(https://github.com/protocolbuffers/protobuf/issues/4228).
Relates to gitlab#301154 (closed)
Edited by Stan Hu