Confluence では特定の文字で問題が発生することがよくあります。事象には以下が含まれます。

  • 非 ASCII 文字がクエスチョン マーク (?) で表示される
  • 非 ASCII 文字を含むページのリンクが動作しない
  • 1 文字が 2 文字として表示される
  • テキストが文字化けして表示される

ほとんどの場合、Confluence が使用するコンポーネントのいずれかの設定が誤っているために発生します。

以下の手順に従って問題を診断してください。

1. エンコーディング テストの実行

Confluence には、設定の問題を解明できるエンコーディング テストが含まれています。

To perform the test, 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.

特定の言語で問題が発生している場合は、いくつかのサンプル テキスト(日本語など)の貼り付けもテストする必要があります。

例:

http://confluence.atlassian.com/admin/encodingtest.action

または

http://<host address>:<port>/admin/encodingtest.action

エンコーディング テストで表示されるテキストが入力したテキストと異なる場合、文字のエンコーディング設定に問題があります。

テストが成功すると以下のようになります。

スクリーンショット: 成功したエンコーディング テスト

MySQL 3.x is known to have some problems with the upper- and lower-casing of some characters, and may fail the last two tests. For more information, see MySQL 3.x Character Encoding Problems.

2. すべてのコンポーネントで同じエンコーディングが使用されていることを確認する

As mentioned in the Configuring Encoding document, the same character encoding should be used across the database, application server and web application (Confluence).

3. サポートを受ける

If there are still problems with character encoding after following the above steps, create a support request, and our support staff will aid in solving your problem.

以下の詳細があると、問題の特定に役立ちます。