Skip to content

Garbled text when searching for issues containing Japanese text in GitLab's Advanced Search

Summary

GitLab: Self-Managed Community Edition v17.9.2

When searching for issues in GitLab's Advanced Search, the Issue titles and descriptions that contain Japanese text are displayed as garbled text between searches.

Steps to reproduce

  1. Go to https://{FQDN}/search?scope=issues&search=search

  2. Enter any string into the search box.

  3. Issue titles and descriptions containing Japanese text are garbled.

Example Project

What is the current bug behavior?

Issue titles and descriptions containing Japanese text are garbled.
Note that garbled text do not occur on other screens.

What is the expected correct behavior?

Japanese garbled text are resolved.

Relevant logs and/or screenshots

search-result-garbled-text

Output of checks

Results of GitLab environment info

Expand for output related to GitLab environment info

(For installations with omnibus-gitlab package run and paste the output of:
`sudo gitlab-rake gitlab:env:info`)

(For installations from source run and paste the output of:
`sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production`)

Results of GitLab application Check

Expand for output related to the GitLab application check

(For installations with omnibus-gitlab package run and paste the output of: sudo gitlab-rake gitlab:check SANITIZE=true)

(For installations from source run and paste the output of: sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production SANITIZE=true)

(we will only investigate if the tests are passing)

Possible fixes

Edited by Yuki Kaneko