Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-39441

File Preview Macro Showing Garbled Characters for Office Documents Containing Certain Special Characters

    XMLWordPrintable

Details

    Description

      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:

      1. Create a MS Office file containing special characters:
      2. Create a page
      3. Edit the page, Insert > File & Image > insert the file > save page
      4. Preview the Excel file. The special characters will be garbled:

      or

      1. Add a page, insert the macro Attachments
      2. Add the sample attachments to the page
      3. Save the page, click on "Preview"
      4. 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

      1. PDF file
      2. While clicking "View" in the attachment macro (Using the Office Viewer instead of View File Macro)

      Characters observed to be causing this issue:

      1. Umlaut characters like "ß" .
      2. Polish characters like "ą"
      3. All Cyrillic characters
      4. 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

      Attachments

        1. Bug.png
          Bug.png
          57 kB
        2. encodingtest.docx
          38 kB
        3. encodingtest.xlsx
          39 kB
        4. encodingtest-excel-outcome.png
          encodingtest-excel-outcome.png
          83 kB
        5. encodingtest-excel-outcome.png
          encodingtest-excel-outcome.png
          83 kB
        6. german-umlauts.xls
          6 kB
        7. polish-characters.docx
          13 kB
        8. Sample.png
          Sample.png
          45 kB
        9. screenshot-1.png
          screenshot-1.png
          15 kB
        10. screenshot-2.png
          screenshot-2.png
          150 kB
        11. testcyrillic.doc
          23 kB
        12. образец нс протокол опроса пострадавшего, очевидца.doc
          40 kB
        13. العَرَبِية‎.docx
          11 kB

        Issue Links

          Activity

            People

              zxu2@atlassian.com Zac Xu
              jalbion Janet Albion (Inactive)
              Votes:
              54 Vote for this issue
              Watchers:
              48 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: