Garbage Characters in Confluence -  - ’ - â€

So we're running into an issue with Confluence that inserts a set of garbage characters when editing the content of a page.

The occurrance is sporadic, but there's one instance where it always happens.

  • Open a page to edit (that has macros on it that allow text to be inserted within them (like a column).
  • Whether the macro is empty or has text within it, Edit that macro.
  • Here, the preview panel in the overlay window will have..
    • Â - that character will be inserted as such <p>Â&nbsp;</p>. Which commonly appears before and after a macro, but without the extra character.
    • ’ - will appear in place of apostrophes
    • †- will appear before quotation marks
  • The insertion of these characters also continues to layer, after edit upon edit.
    • If I don't cleanup the characters manually, after a few times this will appear in the location of the <p>&nbsp;</p> items... ÂÂÂÂ

Attempts we've made at alleviating this were based on information we've found in these locations.

This is a download copy, that we manage, and host ourselves. Any advice and/or direction would be greatly appreciated.

2 answers

Hi Spencer!

My first thought was indeed encoding, so some things you need to check:

* Database encoding; Check if the database schema is set as InnoDB and UTF-8.
* Browser encoding. On your browser, check if it's set as UTF-8. Also test accessing Confluence on other browsers.

And also, check the macro itself. Is it a third-party plugin? What happens if you set your plugins as "Safe Mode"? When you set Safe Mode all the third-party plugins will be disabled, which will help you to check if this macro is bundled or not.

Kind Regards

Hi Bruna,

Thanks for your response, sorry it has taken so long to get back to you.

Below is our database setting that have been this way since the intial installation on our systems.

postgres=# \list
List of databases
Name | Owner | Encoding | Collation | Ctype | Access privileges
confluence | confuser | UTF8 | en_US.UTF-8 | en_US.UTF-8 |
postgres | postgres | UTF8 | en_US.UTF-8 | en_US.UTF-8 |

As for browsers, we've tested all browsers and the issue is duplicated across the board; IE8/9, Chrome, and Firefox. I've checked the browsers and they're all reading in UTF-8.

As for the macros, we don't have any third-party plugins installed and the macros we're seeing the characters in are primarily out-of-the-box Confluence macros like column, section, panel, etc. It also populates in any tables inserted in a page that have empty cells.

We just updated to v5.1.3 on Tuesday. Sadly that hasn't alleviated the issue either.

Thanks for your help!


The current version of Confluence we're running is 5.0.3

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Dec 18, 2018 in Confluence Cloud

Happy holidays from our team to yours!

Hi Community!  2018 was filled with changes for our team, both big and small, and we've taken a lot of time to both celebrate our wins and recognize areas of improvement. One thing that we're a...

477 views 3 18
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you