Uploaded image for project: 'Confluence Cloud'
  1. Confluence Cloud
  2. CONFCLOUD-39441

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

XMLWordPrintable

      NOTE: This bug report is for Confluence Cloud. Using Confluence Server? 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

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

              Unassigned Unassigned
              jalbion Janet Albion (Inactive)
              Votes:
              20 Vote for this issue
              Watchers:
              21 Start watching this issue

                Created:
                Updated:
                Resolved: