Update board appeared a entry with unrecognizable code after using office editor
Asked by CMJIRA:

After we used office application to edit the attachment and uploaded,the update board appeared a entry with unrecognizable code .How to resolve this problem?

Confluence Version:6.13.0

Office Version:Windows Office 2013 ?Simplified Chinese )

Atlassian Companion Version:0.5.3

![updateboard.jpg](/t5/image/serverpage/image-id/41200i662F60C8FF479A0F/image-size/large?v=v2&px=999 "updateboard.jpg")![editor.jpg](/t5/image/serverpage/image-id/41201i4A95394ACC490101/image-size/large?v=v2&px=999 "editor.jpg")


Answers:
author: Diego
body: Hello there!  
I tried to replicate this behaviour locally but was ultimately unable too. Characters were always shown as expected.   
Could you try to run the **Encoding Test** and send us screenshots of the results:

**[Troubleshooting Character Encodings](https://confluence.atlassian.com/doc/troubleshooting-character-encodings-167194.html#TroubleshootingCharacterEncodings-1.Runtheencodingtest)**

Further, could you clarify a few points:
> 1- Is this happening with any file that is edited?  
> 2- Is this affecting other pages as well?  
> 3- Is this affecting other users?  
> 4- Has this worked at some point in the past?  
> 5- What database are you currently using?

Looking forward to your reply!

comments: author: CMJIRA
body: Hi Diego,

The first photo of the attachment is the character encoding test results.Please check it.

Additional,about your questions,my answers are as below:

1.It only happen with office file.I do the same operation in PSD(photoshop) file,it is displayed normally in the All Update board.See the second photo of attachment.

2.The issue is only found in the All Update board in currently.It is displayed normally in the account profile "Activity" page.See the third photo of attachment.

3.Yes,it affect other users.No matter which account is used to log in to the application,just open the All Update board and you will see the entry with unrecognizable code.

4.I am not sure if it worked fine in the past.

5.Mysql Ver 14.14 Distrib 5.6.34.

![Character Encoding Test Results.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/41326iC1C522ACD64E4A81/image-size/large?v=v2&px=999 "Character Encoding Test Results.jpg")![2nd photo.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/41327iB4A5A2BFDBA2F8EB/image-size/large?v=v2&px=999 "2nd photo.jpg")![3th photo.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/41328i456D0C1F7553AB35/image-size/large?v=v2&px=999 "3th photo.jpg")


author: Diego
body: Hi there again!  
This is most likely being caused by some problem with the e**ncoding settings in your database**. You may want to take a look into this article:

**[Encoding Problem Due to Unsupported Database Configuration](https://confluence.atlassian.com/confkb/encoding-problem-due-to-unsupported-database-configuration-707987277.html)**

Make sure to check these SQL queries:  
- SHOW VARIABLES LIKE 'character_set%';  
- SHOW VARIABLES LIKE 'collation%';

Also, take a look into your connection URL to see if it is using useUnicode=true and characterEncoding=utf8 flags.   

For further information on the database setup for MySQL, you can access it here:

**[Database Setup For MySQL](https://confluence.atlassian.com/doc/database-setup-for-mysql-128747.html)**


Tags: confluence-server

server