-
Bug
-
Resolution: Fixed
-
High
-
5.7.1, 5.8.10, 5.8.13, 5.9.2, 5.9.3, 5.9.4, 5.9.5, 5.10.0, 5.10.1, 5.10.2, 5.10.3, 5.10.4, 1000.904.0, 6.13.4, 6.15.3, 6.15.9
-
35
-
Severity 2 - Major
-
28
-
colored text
NOTE: This bug report is for Confluence Server. Using Confluence Cloud? See the corresponding bug report.
Summary
Certain special characters inside MS office attachment such as Word (both .doc or .docx) and Excel (.xls) are not displaying properly when viewed in the new File Preview macro (newly introduced in 5.7.x)
Steps to Reproduce
Steps to reproduce:
- Create a MS Office file containing special characters:
- Umlaut characters like "ß" . Example file german-umlauts.xls
is attached
- Polish characters like "ą". Example file polish-characters.docx
is attached
- Cyrillic characters. Example file testcyrillic.doc
is attached
- Arabic characters. Example file العَرَبِية.docx
- Umlaut characters like "ß" . Example file german-umlauts.xls
- Create a page
- Edit the page, Insert > File & Image > insert the file > save page
- Preview the Excel file. The special characters will be garbled:
or
- Add a page, insert the macro Attachments
- Add the sample attachments to the page
- Save the page, click on "Preview"
- The special characters are garbled
Expected Results
All characters are displayed correctly
Actual Results
Some characters are garbled and not displayed properly
Notes
This issue is not reproducible in
- PDF file
- While clicking "View" in the attachment macro (Using the Office Viewer instead of View File Macro)
Characters observed to be causing this issue:
- Umlaut characters like "ß" .
- Polish characters like "ą"
- All Cyrillic characters
- All Arabic characters
Workaround
Try the resolution provided in the following documentation: The Text in a PowerPoint, Excel or Word Document is Missing or Looks Different when Using the Viewfile Macro
- relates to
-
CONFCLOUD-39441 File Preview Macro Showing Garbled Characters for Office Documents Containing Certain Special Characters
-
- Closed
-
- resolves
-
CONFSERVER-64229 XLSX file conversion service causes OutOfMemoryError on Confluence server
-
- Closed
-
- was split into
-
CONFSERVER-60337 Confluence doesn't install Chinese, Japanese and Korean fonts on Linux
-
- Closed
-
-
CONFSERVER-61040 File Preview Macro and View File Macro on Linux cannot render CJK characters correctly
-
- Gathering Impact
-
We are closing this ticket as we believe a fix is available for most customers experiencing this issue in Confluence 7.10+. This issue can actually be broken down into few separate issues.
1. Garbled single byte Western characters on Linux
We believe this was resolved with Linux installer changes in Confluence 7.10 that install missing fonts when Confluence is installed. If you are still experiencing this issue after upgrading to Confluence 7.10, please raise a support ticket and include details of your OS name, OS version and include a sample file and we’ll look into it.
2. Garbled multi-byte CJK characters on Linux
This should be partially fixed since 7.10 if Confluence is installed through the Linux installer. We upgraded the libraries used for Office document processing in 7.10 and improved the Linux installer script to install some fallback fonts which improves Confluence compatibility with Office documents with certain CJK fonts on Linux, especially CentOS. There are some edge cases the libraries cannot support for now. If you experience that on Confluence 7.10+, please contact support and include a sample file and specify your OS name and version when raising new issues, so that we could investigate further. It is also worth noting that as far as we have seen, this issue does not occur when Confluence is running on a Windows server. If you are interested in the remaining edge cases for garbled CJK characters please watch https://jira.atlassian.com/browse/CONFSERVER-61040 instead.