Service desk issue is not readable/wrongly encoded when other encoding than utf-8 is used
Summary
Service desk Issue created from email with body content part in an encoding other than utf8 has wrong diacritics/is unreadable
Steps to reproduce
setup email client to send mail like
Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable
in Outlook its central european ISO
with body content
ťžščľžťťč
What is the current bug behavior?
issue description will have description like »ѕ№иµѕ»»и
but subject is ok
What is the expected correct behavior?
the issue text should be properly encoded like in thunderbird connected to the same mailbox with IMAP
Relevant logs and/or screenshots
Output of checks
Results of GitLab environment info
Expand for output related to GitLab environment info
System information System: Current User: git Using RVM: no Ruby Version: 2.7.7p221 Gem Version: 3.1.6 Bundler Version:2.3.15 Rake Version: 13.0.6 Redis Version: 6.2.7 Sidekiq Version:6.5.7 Go Version: unknown GitLab information Version: 15.7.0 Revision: b2a2fb69e66 Directory: /opt/gitlab/embedded/service/gitlab-rails DB Adapter: PostgreSQL DB Version: 12.12 URL: http://git.*****.sk HTTP Clone URL: http://git.*****.sk/some-group/some-project.git SSH Clone URL: ssh://git@git.*****.sk:2222/some-group/some-project.git Using LDAP: no Using Omniauth: yes Omniauth Providers: GitLab Shell Version: 14.14.0 Repository storages: - default: unix:/var/opt/gitlab/gitaly/gitaly.socket GitLab Shell path: /opt/gitlab/embedded/service/gitlab-shell
Results of GitLab application Check
Expand for output related to the GitLab application check
Running /opt/gitlab/embedded/service/gitlab-shell/bin/check Internal API available: OK Redis available via internal API: OK gitlab-shell self-check successfulChecking GitLab Shell ... Finished
Checking Gitaly ...
Gitaly: ... default ... OK
Checking Gitaly ... Finished
Checking Sidekiq ...
Sidekiq: ... Running? ... yes Number of Sidekiq processes (cluster/worker) ... 1/1
Checking Sidekiq ... Finished
Checking Incoming Email ...
Incoming Email: ... Checking Reply by email ...
IMAP server credentials are correct? ... Checking servicedesk@col.sk yes Mailroom enabled? ... skipped MailRoom running? ... skipped
Checking Reply by email ... Finished
Checking Incoming Email ... Finished
Checking LDAP ...
LDAP: ... LDAP is disabled in config/gitlab.yml
Checking LDAP ... Finished
Checking GitLab App ...
Database config exists? ... yes