Encoding issue for the Confluence Index Macro plugin and other titles when using Russian language
Asked by dmpanch:

When user added Index Macro plugin to the page when using Russian language - Confluence doesn't render some characters properly. Also found same problem in few other places.

Tested on Confluence 6.9, then updated to 6.10.0, cleared index and plugins cache and tested again.

```
admin/encodingtest.action shows no errors.
```

Also added into setenv.sh:

```
CATALINA_OPTS="-Dfile.encoding=UTF-8 -Dsun.jnu.encoding=UTF-8 ${CATALINA_OPTS}"
```

\>locale

```
LANG=en_US.UTF-8

LANGUAGE=

LC_CTYPE="en_US.UTF-8"

LC_NUMERIC="en_US.UTF-8"

LC_TIME="en_US.UTF-8"

LC_COLLATE="en_US.UTF-8"

LC_MONETARY="en_US.UTF-8"

LC_MESSAGES="en_US.UTF-8"

LC_PAPER="en_US.UTF-8"

LC_NAME="en_US.UTF-8"

LC_ADDRESS="en_US.UTF-8"

LC_TELEPHONE="en_US.UTF-8"

LC_MEASUREMENT="en_US.UTF-8"

LC_IDENTIFICATION="en_US.UTF-8"

LC_ALL=
```

I can't find any related issues, can you please help me?

Sorry for creating question here - emails sending from Confluence troubleshooting menu doesn't work.

![Screen Shot 2018-07-11 at 15.29.22.png](/t5/image/serverpage/image-id/26657i79A2DA74B5CBCF0B/image-size/large?v=v2&px=999 "Screen Shot 2018-07-11 at 15.29.22.png")![Screen Shot 2018-07-11 at 15.18.51.png](/t5/image/serverpage/image-id/26656i91B6233C38BF4AA8/image-size/large?v=v2&px=999 "Screen Shot 2018-07-11 at 15.18.51.png")![Screen Shot 2018-07-11 at 15.11.56.png](/t5/image/serverpage/image-id/26655iBE160B4BA6F95E37/image-size/large?v=v2&px=999 "Screen Shot 2018-07-11 at 15.11.56.png")![Screen Shot 2018-07-11 at 15.10.24.png](/t5/image/serverpage/image-id/26658iD9D056A5665C6A7E/image-size/large?v=v2&px=999 "Screen Shot 2018-07-11 at 15.10.24.png")![Screen Shot 2018-07-11 at 14.49.19.png](/t5/image/serverpage/image-id/26659i91AAB3DD10CC422A/image-size/large?v=v2&px=999 "Screen Shot 2018-07-11 at 14.49.19.png")


Answers:
author: AnnWorley
body: Just circling back to let anyone who finds this thread know it turned out to be a bug: [Broken Characters in Confluence Index Macro with Russian language settings](https://jira.atlassian.com/browse/CONFSERVER-56097)

Here is a link to the other question posted by the same Community member: [Encoding issue for the Confluence Index Macro plugin and other titles when using Russian language](https://community.atlassian.com/t5/Confluence-questions/Encoding-issue-for-the-Confluence-Index-Macro-plugin-and-other/qaq-p/841832)


author: Shannon S
body: Hi there,

Can you start with using the process described here:

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

Please feel free to provide the details so we can help troubleshoot your issue.

Regards,

Shannon

comments: author: dmpanch
body: Hi Shannon!

Thank you for your answer.

Before posting the question I checked points described via provided link.

admin/encodingtest.action report:

![Screen Shot 2018-07-11 at 17.03.29.png](https://community.atlassian.com/t5/image/serverpage/image-id/26665iD4587A500F4BCA88/image-size/large?v=v2&px=999 "Screen Shot 2018-07-11 at 17.03.29.png")

I use Postgre and [this manual](https://confluence.atlassian.com/doc/database-setup-for-postgresql-173244522.html) for installation, so encoding is UTF-8:

![Screen Shot 2018-07-11 at 17.09.27.png](https://community.atlassian.com/t5/image/serverpage/image-id/26666iE2D623053BF57E35/image-size/large?v=v2&px=999 "Screen Shot 2018-07-11 at 17.09.27.png")

Postgre version:

PostgreSQL 9.6.9 on x86_64-pc-linux-gnu (Ubuntu 9.6.9-2.pgdg16.04+1), compiled by gcc (Ubuntu 5.4.0-6ubuntu1\~16.04.9) 5.4.0 20160609, 64-bit

[Here](https://gist.github.com/dmpanch/a807dfc5f1ef734cca2153befa089c3e)(and [here](https://justpaste.it/6krfe) with tables styles) you can find gist with Confluence system information.

Thanks.


author: Shannon S
body: Thank you for sharing that! Everything there looks okay.

So actually your issue with Health Check is this known bug:

* [CONFSERVER-55018](https://jira.atlassian.com/browse/CONFSERVER-55018)

As for the 2nd issue with the macro, it may very well be a different bug.

Can you try the following test on your database?

```
show LC_CTYPE;

show LC_COLLATE;
```

Thank you!

Shannon


author: dmpanch
body: Thank you for answer.

Looks like I have no problem in related menu:

![Screen Shot 2018-07-12 at 18.30.48.png](https://community.atlassian.com/t5/image/serverpage/image-id/26799iB26797C006B95977/image-size/large?v=v2&px=999 "Screen Shot 2018-07-12 at 18.30.48.png")

Here result of db test:

![Screen Shot 2018-07-12 at 18.32.27.png](https://community.atlassian.com/t5/image/serverpage/image-id/26800iEE8554D0D80AFD8D/image-size/large?v=v2&px=999 "Screen Shot 2018-07-12 at 18.32.27.png")


Tags: confluence-server

server