Charset (character encoding) problem: text is displayed incorrectly
Non-Latin characters in commit messages or file contents are displayed as squares or unknown characters.
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.
- Stop Upsource.
Open the configuration file upsource-frontend.jvmoptions located in the
<upsource_home>/conf/upsource-frontenddirectory. If the file does not exist, rename the file upsource-frontend.jvmoptions.dist to upsource-frontend.jvmoptions.
Change the value of the property
UTF-8to the desired charset. If the property doesn't exit, add it to the end of the file.
- Save and close the file.
- Start Upsource.