Viewfile Cannot Render Unicode Characters in PowerPoint Files
Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.
Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. 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.
*Except Fisheye and Crucible
Symptoms
Some UTF-8 characters, eg. Japanese are rendered as boxes when using the viewfile macro.
You may see that this affects certain fonts, eg. MS-Mincho, Arial, etc.
Cause
The JVM relies on the available fonts installed in your operating system. If you don't have the required fonts, you will see your utf-8 characters rendered as boxes in viewfile macro. For example, if you have Arial font and not MS-Mincho, you may discover the UTF-8 characters can be rendered when using Arial as a font and not the other.
Resolution
Make sure that your operating system has the required fonts eg.
ARIALUNI.ttf
to render the UTF-8 characters.If using Windows, you may need to purchase the font from a third party and install the required font in
C:\Windows\Fonts
.
RELATED TOPICS
Was this helpful?