Korean Characters display as square characters in Jira Chart macro
プラットフォームについて: Server および Data Center のみ。この記事は、Server および Data Center プラットフォームのアトラシアン製品にのみ適用されます。
Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Fisheye および Crucible は除く
要約
This issue is specific to Linux environments where Korean fonts are not installed by default.
Jira Chart is created in Jira and passed to Confluence. If the Jira Server does not have Korean font, the Korean characters in the Jira Chart macro display as garbled text in the Confluence like the following:
環境
Usually happens in Linux operating systems
診断
The issue can be reproduced by following the steps below:
- Create a custom issue type with Korean characters in Jira.
- Then add a Jira Chart macro using that custom field in Confluence.
- The custom issue type in the Jira Chart would be shown as garbled text on Confluence UI.
- Lastly, we can then check the installed fonts on Jira server with the following commands.
# fc-list
or
# find /usr/share/fonts
原因
Korean fonts are not installed on the Jira server.
ソリューション
Try to install any Korean font package or copy the fonts into the OS default directory, e.g. /usr/share/fonts.
For example, the following package can be installed in the Redhat/CentOS environment:
# rpm -ivh https://pkgs.dyn.su/el8/base/x86_64/baekmuk-ttf-batang-fonts-2.2-48.el8.noarch.rpm