How to find the Character encoding of Confluence from the Database.
プラットフォームについて: Server および Data Center のみ。この記事は、Server および Data Center プラットフォームのアトラシアン製品にのみ適用されます。
サーバー*製品のサポートは 2024 年 2 月 15 日に終了しました。サーバー製品を利用している場合は、アトラシアンのサーバー製品のサポート終了のお知らせページにて移行オプションをご確認ください。
*Fisheye および Crucible は除く
要約
This document will help you to find the Character Encoding from the Database.
診断
Confluence character encoding can be viewed and changed from the UI . This has been explained in Confluence Character Encoding. However, sometimes we need to know where it is stored in DB.
ソリューション
The Default character encoding is saved in Bandana table in Confluence Database. To fetch the encoding, we can run the below query
select Bandanavalue from bandana where bandanakey='atlassian.confluence.settings'
and bandanavalue like '%defaultEncoding%'
The result set will be a xml block where you can find the Character encoding under <defaultEncoding> element. You can find other system settings as well in the XML result set.
<settings>
<defaultEncoding>UTF-8</defaultEncoding>
<maxThumbHeight>300</maxThumbHeight>
<maxThumbWidth>300</maxThumbWidth>
<backupAttachmentsDaily>true</backupAttachmentsDaily>
</settings>
As per the result above, the Character encoding of my Confluence instance is UTF-8.