Character Encoding Issue with Search in Confluence 5.1

Using Confluence 5.1, we're experiencing an issue when attempting to search in high character languages (Japanese in this case) where both the suggested search keyword and search box input on the search page are displaying broken characters.

メインテナンスフロー becomes メインテナンスフロー

The usual checks all come back positive for configuration being correct, and we can edit pages normally in high characters; only searching causes issues.

The server is a Windows server and is using IIS/Tomcat Connector to proxy the requests to the confluence instance.

1 answer

1 accepted

Hi Charles... have you tried running Encoding Test already? It will help you to determine where the problem is coming from. Access the Encoding Test page via the <confluence base-url>/admin/encodingtest.action page on your Confluence instance. You will be required to copy and paste a line of text and submit a form. The test will take the text and pass it through Confluence, the application server and the database, and return the results.

A successful encoding test will not show you any errors.

If everything is showing fine, then you will need to check on these 3 possibilities:

  1. Database side - https://confluence.atlassian.com/display/DOC/Configuring+Database+Character+Encoding
  2. Application server - https://confluence.atlassian.com/display/DOC/Configuring+URL+Encoding+on+Tomcat+Application+Server
  3. Web application (Confluence) - https://confluence.atlassian.com/display/DOC/Configuring+Character+Encoding

As it turns out... I had upgraded Confluence recently, and left out the UTF-8 URL Encoding flags in Tomcat's server.xml. (2) in the list above solved the issue for me.

Thanks for the reminder, even when we know something needs to be done, it's easy to forget sometimes in practise.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

366 views 20 10
Join discussion

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