Charset (character encoding) problem: text is displayed incorrectly
Non-Latin characters in commit messages or file contents are displayed as squares or unknown characters.
Solution
The default character encoding in Upsource is UTF-8, so if your VCS repository stores commit messages or files in a different type of encoding than UTF-8 then some characters may not render.
Change the character encoding in Upsource to match that of your VCS repository.
Open the configuration file upsource-frontend.jvmoptions located in the
<upsource_home>/conf/upsource-frontend
directory. If the file does not exist, rename the file upsource-frontend.jvmoptions.dist to upsource-frontend.jvmoptions.Change the value of the property
-Dfile.encoding
fromUTF-8
to the desired charset. If the property doesn't exit, add it to the end of the file.For example:
-Dfile.encoding=cp1251
.Save and close the file.