Resolve "500 Error searching wiki: incompatible character encodings: UTF-8 and ASCII-8BIT"
What does this MR do?
Fix a regression in GitLab 10.5.
Are there points in the code the reviewer needs to double check?
encode_utf8 is what I want, here, because I need the output to be UTF-8 (or at least a compatible encoding), which isn't guaranteed by
Does this MR meet the acceptance criteria?
- Changelog entry added, if necessary
- Tests added for this feature/bug
- Has been reviewed by Backend
What are the relevant issue numbers?
Closes #43531 (closed).