Basic Search not working with UTF-16LE encoded file
Summary
When I try to search my project the search function does not seem to query the files in my project.
Steps to reproduce
- Open "Test" project
- Search for anything (ex. "Create")
- This will provide no results even though the word "Create" is in dbo.luAcademicYear.table
Example Project
https://gitlab.com/tankusb/test
What is the current bug behavior?
Search results will not yield anything
What is the expected correct behavior?
When I search the word "create" the location of this word will show up
Relevant logs and/or screenshots
(Paste any relevant logs - please use code blocks (```) to format console output, logs, and code as it's tough to read otherwise.)
Output of checks
(If you are reporting a bug on GitLab.com, write: This bug happens on GitLab.com)
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
(If you can, link to the line of code that might be responsible for the problem)