Resolve "500 Error searching wiki: incompatible character encodings: UTF-8 and ASCII-8BIT"
requested to merge 43531-500-error-searching-wiki-incompatible-character-encodings-utf-8-and-ascii-8bit into master
What does this MR do?
Fix a regression in GitLab 10.5.
Are there points in the code the reviewer needs to double check?
I think 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 encode!
.
Does this MR meet the acceptance criteria?
-
Changelog entry added, if necessary -
Tests added for this feature/bug - Review
-
Has been reviewed by Backend
-
What are the relevant issue numbers?
Closes #43531 (closed).
Edited by Sean McGivern