It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Character set problem

Harun Barış Bulut Dec 27, 2012

There is a really interesting character set problem with confluence. We are using Jira and Confluence together. Jira works fine but confluence works interesting;

What is happening is; when we create a page and write something in it and save, non-latin characters seem to be replaced with ? For instace with the word; Barış, it becomes -> Bar??. However when I want to edit it and click edit, I see the word as Barış which is fine. When I save again it becomes Barış which is also fine, but when I open again to edit it somehow wusiwyg form element shows it as Bar?? sometimes but again it shows it correct sometimes.

As this is happening almost like 1 times per 2 edit, it becomes annoying. I have edited database connection string to set collation utf8 as shows in your documentation, but it still makes this thing.

How do you think we can solve this ?

Thank you very much

2 answers

1 accepted

1 vote
Answer accepted

Hi Harun,

It's good that you have configured the database to use UTF-8 but you should actually make sure all components are running using UTF-8 so please check the documents outlined below to ensure that your encoding scheme is consistent across your components:

Confluence encoding: https://confluence.atlassian.com/display/DOC/Configuring+Character+Encoding
Tomcat
encoding: https://confluence.atlassian.com/display/DOC/Configuring+Tomcat%27s+URI+encoding
Database
encoding: https://confluence.atlassian.com/display/DOC/Configuring+Database+Character+Encoding

You should also ensure that any proxies you have configured are passing all the data without disrupting the traffic as this can also cause problems such as the one you're seeing.

All the best,
John

0 votes
Hanis Suhailah Dec 27, 2012

John has some points there and it seems that you are hitting this issue: https://confluence.atlassian.com/display/CONFKB/Characters+Appear+as+Question+Marks+Using+MySQL

You may need to set default-character-set=utf8, restart database and the server and see how it goes.

Harun Barış Bulut Jan 01, 2013

Thanks Hanis, the problem was about all actually, our system admin somehow do everything wrong about collation. When we fix it, it started working correct.

Thanks

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Posted in Off-topic

Disney Live Action Reboots: Are you for or against?

Happy Friday Everyone! Today marks the international release of Disney's live action version of the animated classic Aladdin. I know that this movie was met with some controversy of over cast...

140 views 19 8
Join discussion

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you